mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +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)
|
if (format != GST_FORMAT_TIME)
|
||||||
*stop = -1;
|
*stop = -1;
|
||||||
}
|
}
|
||||||
|
gst_query_unref (query);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue