summaryrefslogtreecommitdiff
path: root/ext/timidity
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-06-21 23:48:59 +0300
committerStefan Kost <ensonic@users.sf.net>2010-06-21 23:50:54 +0300
commit4536c54469af32928d74d406551d43334ee716b1 (patch)
treef66b1fd481228c2f3dbfb20a828c56cc42632441 /ext/timidity
parentf876bd065858b2174d7120c805ca6a146137f3aa (diff)
downloadgstreamer-plugins-bad-4536c54469af32928d74d406551d43334ee716b1.tar.gz
wildmidi: fix previous commit
We were leaking the element refcount and not the pad one.
Diffstat (limited to 'ext/timidity')
-rw-r--r--ext/timidity/gstwildmidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c
index 4e142b923..91d5b5d77 100644
--- a/ext/timidity/gstwildmidi.c
+++ b/ext/timidity/gstwildmidi.c
@@ -755,7 +755,7 @@ gst_wildmidi_sink_event (GstPad * pad, GstEvent * event)
break;
}
- gst_object_unref (pad);
+ gst_object_unref (wildmidi);
return res;
}