wildmidi: free the adapter

This commit is contained in:
Wim Taymans 2009-08-31 18:34:03 +02:00
parent 5c6ddc8ff2
commit dd1b692561

View file

@ -290,6 +290,12 @@ gst_wildmidi_init (GstWildmidi * filter, GstWildmidiClass * g_class)
static void static void
gst_wildmidi_finalize (GObject * object) gst_wildmidi_finalize (GObject * object)
{ {
GstWildmidi *wildmidi;
wildmidi = GST_WILDMIDI (object);
g_object_unref (wildmidi->adapter);
G_OBJECT_CLASS (parent_class)->finalize (object); G_OBJECT_CLASS (parent_class)->finalize (object);
} }