summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-11-05 17:11:27 +0000
committerritsuka <[email protected]>2013-11-05 17:11:27 +0000
commit44c67f5f4929d6a2b6d2e11325612e33069da7a4 (patch)
tree2e6dfab66a3a4fa08d6d9398f29001d6eb745ff3
parent3708aa16ba0bb21e4c73ea57f21c6fa2e832573f (diff)
Fix a small leak in encca_aac.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5878 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/platform/macosx/encca_aac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c
index ded8205f7..19e182a22 100644
--- a/libhb/platform/macosx/encca_aac.c
+++ b/libhb/platform/macosx/encca_aac.c
@@ -316,6 +316,7 @@ int encCoreAudioInit(hb_work_object_t *w, hb_job_t *job, enum AAC_MODE mode)
ReadESDSDescExt(w->config->extradata.bytes, &buffer, &tmpsiz, 0);
w->config->extradata.length = tmpsiz;
memmove(w->config->extradata.bytes, buffer, w->config->extradata.length);
+ free(buffer);
pv->list = hb_list_init();
pv->buf = NULL;