From 12e2757aa844d7b58f484e693478fedf6efbf1ea Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 5 Oct 2015 11:03:38 +0900 Subject: [PATCH] qtmux: Fix sample memory leak When getting sample from taglist, the memory should be freed after using it. https://bugzilla.gnome.org/show_bug.cgi?id=756068 --- gst/isomp4/gstqtmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index c43d612..a8fc7cd 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -1414,6 +1414,7 @@ gst_qt_mux_add_metadata_tags (GstQTMux * qtmux, const GstTagList * list, } gst_buffer_unmap (buf, &map); } + gst_sample_unref (sample); } } -- 2.7.4