From 77c7eed1aecf9e1ee6c82014e447ac33575025b1 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 10 Feb 2009 11:27:51 +0100 Subject: aspectratiocrop: Don't forget to call parent finalize implementation. This fixes a memory leak (leaking the contained elements of the bin). --- gst/videocrop/gstaspectratiocrop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/videocrop/gstaspectratiocrop.c') diff --git a/gst/videocrop/gstaspectratiocrop.c b/gst/videocrop/gstaspectratiocrop.c index 6d0ee44b..7b91139d 100644 --- a/gst/videocrop/gstaspectratiocrop.c +++ b/gst/videocrop/gstaspectratiocrop.c @@ -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 -- cgit