summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux/gstrtpdtmfmux.c
diff options
context:
space:
mode:
authorHÃ¥vard Graff <havard.graff@tandberg.com>2008-12-01 17:48:29 -0500
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:56 +0100
commit4749d03a1d44dbce4ed4e7f84e1807b91c3974d3 (patch)
treeeb74710805f28f4544ddee2155cc978108d07e85 /gst/rtpmux/gstrtpdtmfmux.c
parent363861fac6f16c3a517ed29a36b7a9a6986f87c3 (diff)
downloadgst-plugins-bad-4749d03a1d44dbce4ed4e7f84e1807b91c3974d3.tar.gz
gst-plugins-bad-4749d03a1d44dbce4ed4e7f84e1807b91c3974d3.tar.bz2
gst-plugins-bad-4749d03a1d44dbce4ed4e7f84e1807b91c3974d3.zip
[MOVED FROM GST-P-FARSIGHT] Fix leak
Diffstat (limited to 'gst/rtpmux/gstrtpdtmfmux.c')
-rw-r--r--gst/rtpmux/gstrtpdtmfmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtpmux/gstrtpdtmfmux.c b/gst/rtpmux/gstrtpdtmfmux.c
index c199baa0..84c53ad5 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);