mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
applemedia: vtdec: fix CMBlockBufferRef leak
Fix huge leak that went unnoticed for too long. Oops.
This commit is contained in:
parent
3655e8b8bc
commit
77d48abfab
1 changed files with 1 additions and 0 deletions
|
@ -562,6 +562,7 @@ cm_sample_buffer_from_gst_buffer (GstVtdec * vtdec, GstBuffer * buf)
|
||||||
status =
|
status =
|
||||||
CMSampleBufferCreate (NULL, bbuf, TRUE, 0, 0, vtdec->format_description,
|
CMSampleBufferCreate (NULL, bbuf, TRUE, 0, 0, vtdec->format_description,
|
||||||
1, 1, time_array, 0, NULL, &sbuf);
|
1, 1, time_array, 0, NULL, &sbuf);
|
||||||
|
CFRelease (bbuf);
|
||||||
if (status != noErr)
|
if (status != noErr)
|
||||||
goto sample_error;
|
goto sample_error;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue