From: Vineeth TM Date: Wed, 7 Oct 2015 08:14:57 +0000 (+0900) Subject: qtmux: Fix date memory leak X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~14^2~3^2~119^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b7fb6d26a3f4929f5bf075dd3b15c0bc5dcf816;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index a8fc7cd..ccc6ecf 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");