changeset 70:31799ddaf2e9 trunk

[svn] - fix memory leaks
author nenolod
date Sat, 30 Sep 2006 23:25:06 -0700
parents 08c9353a9bb3
children 5b0619b09745
files ChangeLog src/alac/plugin.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 30 23:18:01 2006 -0700
+++ b/ChangeLog	Sat Sep 30 23:25:06 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-01 06:18:01 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [138]
+  - about box
+  
+  trunk/src/alac/plugin.c |   23 ++++++++++++++++++++++-
+  1 file changed, 22 insertions(+), 1 deletion(-)
+
+
 2006-10-01 06:09:09 +0000  William Pitcock <nenolod@nenolod.net>
   revision [136]
   - set alac::going before we fork the decoder thread off, this stops the core from getting confused
--- a/src/alac/plugin.c	Sat Sep 30 23:18:01 2006 -0700
+++ b/src/alac/plugin.c	Sat Sep 30 23:25:06 2006 -0700
@@ -229,6 +229,9 @@
 
         produce_audio(alac_ip.output->written_time(), FMT_S16_LE, demux_res->num_channels, outputBytes, pDestBuffer, &going);
     }
+
+    free(buffer);
+    free(pDestBuffer);
 }
 
 static void init_sound_converter(demux_res_t *demux_res)