mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
avviddec: Fix memory leak if we already allocated an output buffer for the frame
This commit is contained in:
parent
76b8b8c67f
commit
06de84c747
1 changed files with 1 additions and 0 deletions
|
@ -588,6 +588,7 @@ fallback:
|
|||
duplicate_frame:
|
||||
{
|
||||
GST_WARNING_OBJECT (ffmpegdec, "already alloc'ed output buffer for frame");
|
||||
gst_video_codec_frame_unref (frame);
|
||||
return -1;
|
||||
}
|
||||
no_frame:
|
||||
|
|
Loading…
Reference in a new issue