diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c index 2a9ed28d79..bd541013a0 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); }