applemedia: vtdec: fix CMBlockBufferRef leak
Fix huge leak that went unnoticed for too long. Oops.
This commit is contained in:
parent
3655e8b8bc
commit
77d48abfab
@ -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…
x
Reference in New Issue
Block a user