summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBCore.m')
-rw-r--r--macosx/HBCore.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m
index 39e6be5ac..2d2f592bc 100644
--- a/macosx/HBCore.m
+++ b/macosx/HBCore.m
@@ -456,7 +456,6 @@ typedef void (^HBCoreCleanupHandler)(void);
}
CFStringRef matrixKey = NULL;
-
switch (matrix)
{
case HB_COLR_MAT_SMPTE170M:
@@ -483,6 +482,8 @@ typedef void (^HBCoreCleanupHandler)(void);
CGColorSpaceRef colorSpace = CVImageBufferCreateColorSpaceFromAttachments(attachments);
+ CFRelease(attachments);
+
return colorSpace;
}