summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2007-06-07 12:01:21 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:53 +0100
commit6750edd1d8a99cffe53389706d6afef426ed1a0f (patch)
tree3093040e165d3453f9ad052a3c351f5b8a46c2c9 /gst
parent7d12ea7ba818cb619bc57ca3719fba88bb8ca4e0 (diff)
downloadgst-plugins-bad-6750edd1d8a99cffe53389706d6afef426ed1a0f.tar.gz
gst-plugins-bad-6750edd1d8a99cffe53389706d6afef426ed1a0f.tar.bz2
gst-plugins-bad-6750edd1d8a99cffe53389706d6afef426ed1a0f.zip
[MOVED FROM GST-P-FARSIGHT] Fix multiple ref leaks (patches by SP GLE)
20070607120121-3e2dc-061e9ef7a47b1b84fa8f8092f4b8bcc0e6db8c8c.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmux/gstrtpmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index d5fec6e8..ebc0a55d 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -417,6 +417,8 @@ gst_rtp_mux_setcaps (GstPad *pad, GstCaps *caps)
ret = gst_pad_set_caps (rtp_mux->srcpad, caps);
}
+ gst_object_unref (rtp_mux);
+
return ret;
}