mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +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 =
|
||||
CMSampleBufferCreate (NULL, bbuf, TRUE, 0, 0, vtdec->format_description,
|
||||
1, 1, time_array, 0, NULL, &sbuf);
|
||||
CFRelease (bbuf);
|
||||
if (status != noErr)
|
||||
goto sample_error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue