rtpmux: Fix leak

This commit is contained in:
Håvard Graff 2008-12-01 17:48:29 -05:00 committed by Tim-Philipp Müller
parent 5cbb0de823
commit 1b5e769e0b

View file

@ -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);