GESTrackFileSource: Don't forget to free the URI string

This commit is contained in:
Edward Hervey 2010-03-13 15:51:16 +01:00
parent 346d7ab0f6
commit fd15030ff1

View file

@ -68,6 +68,11 @@ ges_track_filesource_set_property (GObject * object, guint property_id,
static void
ges_track_filesource_dispose (GObject * object)
{
GESTrackFileSource *tfs = GES_TRACK_FILESOURCE (object);
if (tfs->uri)
g_free (tfs->uri);
G_OBJECT_CLASS (ges_track_filesource_parent_class)->dispose (object);
}