mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
mpeg2dec: Release codec state on negotiation failures
Else it leaks CID #1212169
This commit is contained in:
parent
d1950e138e
commit
a665347345
1 changed files with 1 additions and 0 deletions
|
@ -808,6 +808,7 @@ invalid_size:
|
|||
negotiation_fail:
|
||||
{
|
||||
GST_WARNING_OBJECT (mpeg2dec, "Failed to negotiate with downstream");
|
||||
gst_video_codec_state_unref (state);
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue