projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a80be
)
qtmux: Fix date memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Wed, 7 Oct 2015 08:14:57 +0000
(17:14 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 7 Oct 2015 10:22:20 +0000
(11:22 +0100)
When getting date from taglist, the memory should be freed after
using it.
https://bugzilla.gnome.org/show_bug.cgi?id=756171
gst/isomp4/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/gstqtmux.c
b/gst/isomp4/gstqtmux.c
index a8fc7cdab548176be794e11a1619d472d9ec791d..ccc6ecfd9350359a36fad5f7534f05964b83bf92 100644
(file)
--- 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");