mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
GESTimelineFileSource: Don't leak strings
This commit is contained in:
parent
dd47b93587
commit
f6d0de047a
1 changed files with 7 additions and 0 deletions
|
@ -124,6 +124,13 @@ ges_timeline_source_dispose (GObject * object)
|
||||||
static void
|
static void
|
||||||
ges_timeline_source_finalize (GObject * object)
|
ges_timeline_source_finalize (GObject * object)
|
||||||
{
|
{
|
||||||
|
GESTimelineSource *source = (GESTimelineSource *) object;
|
||||||
|
|
||||||
|
if (source->text)
|
||||||
|
g_free (source->text);
|
||||||
|
if (source->font_desc)
|
||||||
|
g_free (source->font_desc);
|
||||||
|
|
||||||
G_OBJECT_CLASS (ges_timeline_source_parent_class)->finalize (object);
|
G_OBJECT_CLASS (ges_timeline_source_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue