initial import
This commit is contained in:
25
libao/0002-ao_example-free-buffer.patch
Normal file
25
libao/0002-ao_example-free-buffer.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From 20dc8ed9fa4605f5c25e7496ede42e8ba6468225 Mon Sep 17 00:00:00 2001
|
||||
From: Tristan Matthews <tmatth@videolan.org>
|
||||
Date: Sat, 29 Dec 2018 15:47:27 -0500
|
||||
Subject: [PATCH 2/2] ao_example: free buffer
|
||||
|
||||
Fixes #3
|
||||
---
|
||||
doc/ao_example.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/doc/ao_example.c b/doc/ao_example.c
|
||||
index a2764c3..053a577 100644
|
||||
--- a/doc/ao_example.c
|
||||
+++ b/doc/ao_example.c
|
||||
@@ -83,5 +83,7 @@ int main(int argc, char **argv)
|
||||
|
||||
ao_shutdown();
|
||||
|
||||
+ free(buffer);
|
||||
+
|
||||
return (0);
|
||||
}
|
||||
--
|
||||
2.12.2
|
||||
|
||||
Reference in New Issue
Block a user