aspectratiocrop: Don't forget to call parent finalize implementation.
This fixes a memory leak (leaking the contained elements of the bin).
This commit is contained in:
parent
309c651286
commit
77c7eed1ae
@ -204,6 +204,8 @@ gst_aspect_ratio_crop_finalize (GObject * object)
|
|||||||
|
|
||||||
if (aspect_ratio_crop->crop_lock)
|
if (aspect_ratio_crop->crop_lock)
|
||||||
g_mutex_free (aspect_ratio_crop->crop_lock);
|
g_mutex_free (aspect_ratio_crop->crop_lock);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user