# HG changeset patch # User nenolod # Date 1159683906 25200 # Node ID 31799ddaf2e9e43ba0b57516f172a12d977eda96 # Parent 08c9353a9bb34d25941a2aa74a1e2d65e48faf6e [svn] - fix memory leaks diff -r 08c9353a9bb3 -r 31799ddaf2e9 ChangeLog --- 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 + 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 revision [136] - set alac::going before we fork the decoder thread off, this stops the core from getting confused diff -r 08c9353a9bb3 -r 31799ddaf2e9 src/alac/plugin.c --- 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)