diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-02-10 11:27:51 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-10 11:27:51 +0100 |
commit | 77c7eed1aecf9e1ee6c82014e447ac33575025b1 (patch) | |
tree | da9dca8a66f608a946728c8b76501adc62012d6a /gst/videocrop | |
parent | 309c651286946e6ddb24f8d8fa160a423ae6f4f3 (diff) |
aspectratiocrop: Don't forget to call parent finalize implementation.
This fixes a memory leak (leaking the contained elements of the bin).
Diffstat (limited to 'gst/videocrop')
-rw-r--r-- | gst/videocrop/gstaspectratiocrop.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |