timeline-element: don't leak name string

This commit is contained in:
Tim-Philipp Müller 2014-10-26 20:35:30 +00:00
parent 29bac48934
commit e1f92be62b

View file

@ -148,6 +148,10 @@ _set_property (GObject * object, guint property_id,
static void
ges_timeline_element_finalize (GObject * self)
{
GESTimelineElement *tle = GES_TIMELINE_ELEMENT (self);
g_free (tle->name);
G_OBJECT_CLASS (ges_timeline_element_parent_class)->finalize (self);
}