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:
Ognyan Tonchev 2013-06-26 14:42:15 +02:00 committed by Wim Taymans
parent 81c3843ad1
commit cd4120ef26

View file

@ -2122,5 +2122,6 @@ default_query_stop (GstRTSPMedia * media, gint64 * stop)
if (format != GST_FORMAT_TIME)
*stop = -1;
}
gst_query_unref (query);
return res;
}