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:
d0b2584
)
rtspsrc: fix major memory leak when playing back rtsp video streams
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 4 Dec 2009 11:14:03 +0000
(11:14 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 4 Dec 2009 11:14:03 +0000
(11:14 +0000)
Don't forget to unref QoS, navigation and latency events when
dropping them.
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
fb939b6
..
f3ba326
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-1699,6
+1699,7
@@
gst_rtspsrc_handle_internal_src_event (GstPad * pad, GstEvent * event)
case GST_EVENT_NAVIGATION:
case GST_EVENT_LATENCY:
default:
+ gst_event_unref (event);
res = TRUE;
break;
}