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 10:23:42 +0300
commit15ff4c8b5ffeeec57bc30ca4e1b01ead676ffcda (patch)
tree267c136c5b5d899a3d886620c03e1309a94faca1
parent0201370461c912aef9bc1dc6780c08ca305de56c (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 {