summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgnyan Tonchev <ognyan@axis.com>2014-09-16 14:26:08 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-09-17 09:51:15 +0300
commit7cd335e9b9d361a8149bb65f3c545df50e24abd9 (patch)
treef1a8172d37809004aa7e89ad1c9990a662612763
parent4bc10e755a81b07e1d580ff9fd976ad896cbb241 (diff)
flacparse: do not leak uid after parsing TOC event
https://bugzilla.gnome.org/show_bug.cgi?id=736739
-rw-r--r--gst/audioparsers/gstflacparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c
index d36693b47..6fc92a8a7 100644
--- a/gst/audioparsers/gstflacparse.c
+++ b/gst/audioparsers/gstflacparse.c
@@ -1796,10 +1796,10 @@ gst_flac_parse_src_event (GstBaseParse * parse, GstEvent * event)
GST_BASE_PARSE_CLASS (parent_class)->src_event (parse,
seek_event);
- g_free (uid);
} else {
GST_WARNING_OBJECT (parse, "no TOC entry with given UID: %s", uid);
}
+ g_free (uid);
}
gst_toc_unref (toc);
} else {