mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
jitterbuffer: avoid leaking sink events
Avoid leaking the newsegment event when it has the wrong format.
This commit is contained in:
parent
acc37e52a7
commit
ffc7cd9803
1 changed files with 1 additions and 0 deletions
|
@ -1118,6 +1118,7 @@ newseg_wrong_format:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (jitterbuffer, "received non TIME newsegment");
|
GST_DEBUG_OBJECT (jitterbuffer, "received non TIME newsegment");
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
|
gst_event_unref (event);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue