diff options
author | Damiano Galassi <damiog@gmail.com> | 2017-02-24 19:15:54 +0100 |
---|---|---|
committer | Damiano Galassi <galad87@users.noreply.github.com> | 2017-02-24 19:23:03 +0100 |
commit | 8eb2de4aaf3e64645c5e3eab9c2ff9a761b2e735 (patch) | |
tree | b5498ad42b78a6b16ed3715d8372f444e6a1d5a8 /libhb | |
parent | b2ca0b4f50c2cdea14dcb98f050265377c49b569 (diff) |
encca_aac: fix a small leak
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/platform/macosx/encca_aac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c index c60048945..5716cf399 100644 --- a/libhb/platform/macosx/encca_aac.c +++ b/libhb/platform/macosx/encca_aac.c @@ -465,6 +465,7 @@ static hb_buffer_t* Encode(hb_work_object_t *w) // only drop the output buffer if it's actually empty if (!npackets || odesc.mDataByteSize <= 0) { + hb_buffer_close(&obuf); return NULL; } |