projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c23a9f
)
MacGui: fix a small leak.
author
Damiano Galassi
<damiog@gmail.com>
Tue, 13 Jun 2017 07:51:04 +0000
(09:51 +0200)
committer
Damiano Galassi
<damiog@gmail.com>
Tue, 13 Jun 2017 07:51:04 +0000
(09:51 +0200)
macosx/HBCore.m
patch
|
blob
|
history
diff --git
a/macosx/HBCore.m
b/macosx/HBCore.m
index 39e6be5ac6ec7122567deb65d091c4d91aeb5e4a..2d2f592bc22344f8bea3c178f07e8a178ae8b8e7 100644
(file)
--- 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;
}