[MOVED FROM GST-P-FARSIGHT] Fix leak

This commit is contained in:
Håvard Graff 2008-12-01 17:48:29 -05:00 committed by Edward Hervey
parent 363861fac6
commit 4749d03a1d

View file

@ -280,6 +280,7 @@ gst_rtp_dtmf_mux_sink_event (GstPad * pad, GstEvent * event)
switch (type) { switch (type) {
case GST_EVENT_CUSTOM_DOWNSTREAM_OOB: case GST_EVENT_CUSTOM_DOWNSTREAM_OOB:
ret = gst_rtp_dtmf_mux_handle_downstream_event (mux, pad, event); ret = gst_rtp_dtmf_mux_handle_downstream_event (mux, pad, event);
gst_event_unref (event);
break; break;
default: default:
ret = gst_rtp_dtmf_mux_ignore_event (pad, event); ret = gst_rtp_dtmf_mux_ignore_event (pad, event);