aspectratiocrop: Don't forget to call parent finalize implementation.
authorEdward Hervey <bilboed@bilboed.com>
Tue, 10 Feb 2009 10:27:51 +0000 (11:27 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 10 Feb 2009 10:27:51 +0000 (11:27 +0100)
This fixes a memory leak (leaking the contained elements of the bin).

gst/videocrop/gstaspectratiocrop.c

index 6d0ee44..7b91139 100644 (file)
@@ -204,6 +204,8 @@ gst_aspect_ratio_crop_finalize (GObject * object)
 
   if (aspect_ratio_crop->crop_lock)
     g_mutex_free (aspect_ratio_crop->crop_lock);
+
+  G_OBJECT_CLASS (parent_class)->finalize (object);
 }
 
 static void