[xiph-commits] r18202 - in trunk/ao: . src

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Mon Feb 13 17:38:53 PST 2012


Author: ph3-der-loewe
Date: 2012-02-13 17:38:53 -0800 (Mon, 13 Feb 2012)
New Revision: 18202

Modified:
   trunk/ao/CHANGES
   trunk/ao/src/audio_out.c
Log:
Fixed memory leak in ao_shutdown() (close #1799)

Modified: trunk/ao/CHANGES
===================================================================
--- trunk/ao/CHANGES	2012-02-14 01:36:26 UTC (rev 18201)
+++ trunk/ao/CHANGES	2012-02-14 01:38:53 UTC (rev 18202)
@@ -1,5 +1,6 @@
 1.1.1 - Not yet released
  - Added missing ao_file_extension() (see Track #1841)
+ - Fixed memory leak in ao_shutdown() (see Track #1799)
 
 1.1.0 - February 21, 2011
  - Add autofoo ld symbol versioning to build system

Modified: trunk/ao/src/audio_out.c
===================================================================
--- trunk/ao/src/audio_out.c	2012-02-14 01:36:26 UTC (rev 18201)
+++ trunk/ao/src/audio_out.c	2012-02-14 01:38:53 UTC (rev 18202)
@@ -1265,6 +1265,9 @@
 
 	if (!driver_head) return;
 
+	free(info_table);
+	info_table = NULL;
+
 	/* unload and free all the drivers */
 	while (driver) {
 		if (driver->handle) {



More information about the commits mailing list