mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
rtsp-media: Do not leak the query in default_query_stop
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703120
This commit is contained in:
parent
81c3843ad1
commit
cd4120ef26
1 changed files with 1 additions and 0 deletions
|
@ -2122,5 +2122,6 @@ default_query_stop (GstRTSPMedia * media, gint64 * stop)
|
|||
if (format != GST_FORMAT_TIME)
|
||||
*stop = -1;
|
||||
}
|
||||
gst_query_unref (query);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue