projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd47b93
)
GESTimelineFileSource: Don't leak strings
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Wed, 1 Sep 2010 15:04:26 +0000
(17:04 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Wed, 1 Sep 2010 15:04:26 +0000
(17:04 +0200)
ges/ges-timeline-source.c
patch
|
blob
|
history
diff --git
a/ges/ges-timeline-source.c
b/ges/ges-timeline-source.c
index c202714bba892506ec267498807a92ffd84ddfc4..4792b56eae35df42e492f3e6d34521c3580c34bf 100644
(file)
--- a/
ges/ges-timeline-source.c
+++ b/
ges/ges-timeline-source.c
@@
-124,6
+124,13
@@
ges_timeline_source_dispose (GObject * object)
static void
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);
}