projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3655e8b
)
applemedia: vtdec: fix CMBlockBufferRef leak
author
Alessandro Decina
<alessandro.d@gmail.com>
Tue, 27 Jan 2015 13:53:59 +0000
(
00:53
+1100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Thu, 29 Jan 2015 13:34:08 +0000
(
00:34
+1100)
Fix huge leak that went unnoticed for too long. Oops.
sys/applemedia/vtdec.c
patch
|
blob
|
history
diff --git
a/sys/applemedia/vtdec.c
b/sys/applemedia/vtdec.c
index
5903286
..
61efe9d
100644
(file)
--- a/
sys/applemedia/vtdec.c
+++ b/
sys/applemedia/vtdec.c
@@
-562,6
+562,7
@@
cm_sample_buffer_from_gst_buffer (GstVtdec * vtdec, GstBuffer * buf)
status =
CMSampleBufferCreate (NULL, bbuf, TRUE, 0, 0, vtdec->format_description,
1, 1, time_array, 0, NULL, &sbuf);
+ CFRelease (bbuf);
if (status != noErr)
goto sample_error;