From cd4120ef265a294555b8f4e945023fcc8e533038 Mon Sep 17 00:00:00 2001 From: Ognyan Tonchev Date: Wed, 26 Jun 2013 14:42:15 +0200 Subject: [PATCH] rtsp-media: Do not leak the query in default_query_stop Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703120 --- gst/rtsp-server/rtsp-media.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 49e86f233b..c8a35d7d15 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -2122,5 +2122,6 @@ default_query_stop (GstRTSPMedia * media, gint64 * stop) if (format != GST_FORMAT_TIME) *stop = -1; } + gst_query_unref (query); return res; }