projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5144f
)
rtspsrc: fix query leak
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 10 Jul 2014 16:19:42 +0000
(17:19 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 10 Jul 2014 16:19:42 +0000
(17:19 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=733003
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
e28fb9a
..
e7573c7
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-2328,12
+2328,16
@@
gst_rtspsrc_get_position (GstRTSPSrc * src)
GST_DEBUG_OBJECT (src, "retaining position %" GST_TIME_FORMAT,
GST_TIME_ARGS (pos));
src->last_pos = pos;
-
return
;
+
goto out
;
}
}
}
src->last_pos = 0;
+
+out:
+
+ gst_query_unref (query);
}
static gboolean