summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-10-07 17:14:57 +0900
committerSebastian Dröge <sebastian@centricular.com>2015-10-07 19:03:01 +0100
commit1b7fb6d26a3f4929f5bf075dd3b15c0bc5dcf816 (patch)
treedfb80daa20a1067e30ff6bb72f4ab18672d1bcd9
parent12e2757aa844d7b58f484e693478fedf6efbf1ea (diff)
downloadgstreamer-plugins-good-1b7fb6d26a3f4929f5bf075dd3b15c0bc5dcf816.tar.gz
qtmux: Fix date memory leak
When getting date from taglist, the memory should be freed after using it. https://bugzilla.gnome.org/show_bug.cgi?id=756171
-rw-r--r--gst/isomp4/gstqtmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index a8fc7cdab..ccc6ecfd9 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -1004,6 +1004,7 @@ gst_qt_mux_add_3gp_date (GstQTMux * qtmux, const GstTagList * list,
return;
year = g_date_get_year (date);
+ g_date_free (date);
if (year == G_DATE_BAD_YEAR) {
GST_WARNING_OBJECT (qtmux, "invalid date in tag");