[gst-plugins-farsight/master] Fix leak

Håvard Graff havard.graff at tandberg.com
Mon Dec 1 14:48:29 PST 2008


---
 gst/rtpmux/gstrtpdtmfmux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/rtpmux/gstrtpdtmfmux.c b/gst/rtpmux/gstrtpdtmfmux.c
index c199baa..84c53ad 100644
--- a/gst/rtpmux/gstrtpdtmfmux.c
+++ b/gst/rtpmux/gstrtpdtmfmux.c
@@ -280,6 +280,7 @@ gst_rtp_dtmf_mux_sink_event (GstPad * pad, GstEvent * event)
   switch (type) {
     case GST_EVENT_CUSTOM_DOWNSTREAM_OOB:
       ret = gst_rtp_dtmf_mux_handle_downstream_event (mux, pad, event);
+      gst_event_unref (event);
       break;
     default:
       ret = gst_rtp_dtmf_mux_ignore_event (pad, event);
-- 
1.5.6.5




More information about the farsight-commits mailing list