summaryrefslogtreecommitdiff
authorWim Taymans <wim.taymans@collabora.co.uk>2009-08-31 16:34:03 (GMT)
committer Wim Taymans <wim.taymans@collabora.co.uk>2009-08-31 16:48:04 (GMT)
commitdd1b6925615346b575b7413e75276b36d386e168 (patch) (side-by-side diff)
treeae3b5a8ef7d463704520def1b7937fa83b2fd838
parent5c6ddc8ff26046ab8f46434d0874fd4a3786321f (diff)
downloadgst-plugins-bad-dd1b6925615346b575b7413e75276b36d386e168.zip
gst-plugins-bad-dd1b6925615346b575b7413e75276b36d386e168.tar.gz
wildmidi: free the adapter
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ext/timidity/gstwildmidi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c
index 2a9ed28..bd54101 100644
--- a/ext/timidity/gstwildmidi.c
+++ b/ext/timidity/gstwildmidi.c
@@ -290,6 +290,12 @@ gst_wildmidi_init (GstWildmidi * filter, GstWildmidiClass * g_class)
static void
gst_wildmidi_finalize (GObject * object)
{
+ GstWildmidi *wildmidi;
+
+ wildmidi = GST_WILDMIDI (object);
+
+ g_object_unref (wildmidi->adapter);
+
G_OBJECT_CLASS (parent_class)->finalize (object);
}