[gst-cvs] gst-plugins-bad: resindvd: Fix a leak of the DVD title string
Jan Schmidt
thaytan at kemper.freedesktop.org
Thu May 14 03:55:00 PDT 2009
Module: gst-plugins-bad
Branch: master
Commit: d9fef92ea03961f2bf7a1fc75c99223ecf35f168
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=d9fef92ea03961f2bf7a1fc75c99223ecf35f168
Author: Jan Schmidt <thaytan at noraisin.net>
Date: Thu May 14 08:42:24 2009 +0100
resindvd: Fix a leak of the DVD title string
---
ext/resindvd/resindvdsrc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c
index 15a2408..37fc9da 100644
--- a/ext/resindvd/resindvdsrc.c
+++ b/ext/resindvd/resindvdsrc.c
@@ -842,6 +842,7 @@ update_title_info (resinDvdSrc * src)
GstTagList *tags = gst_tag_list_new ();
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_TITLE,
title_str, NULL);
+ g_free (title_str);
gst_element_found_tags (GST_ELEMENT_CAST (src), tags);
}
}
More information about the Gstreamer-commits
mailing list