From 8eb2de4aaf3e64645c5e3eab9c2ff9a761b2e735 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 24 Feb 2017 19:15:54 +0100 Subject: [PATCH] encca_aac: fix a small leak --- libhb/platform/macosx/encca_aac.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0