[Bug 758161] New: qtdemux: Fix string memory leak
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Nov 15 23:55:38 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758161
Bug ID: 758161
Summary: qtdemux: Fix string memory leak
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vineeth.tm at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The string got using g_strdup_printf will be allocated memory and should be
freed after use.
Fixes the below memory leak
==2692== 24 bytes in 1 blocks are definitely lost in loss record 8,801 of
18,861
==2692== at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2692== by 0x4B9F2AF: __vasprintf_chk (vasprintf_chk.c:80)
==2692== by 0x4A07689: g_vasprintf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==2692== by 0x49E0FF2: g_strdup_vprintf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==2692== by 0x49E1022: g_strdup_printf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==2692== by 0xF4CE647: qtdemux_parse_tree (qtdemux.c:12763)
==2692== by 0xF4D76B8: gst_qtdemux_loop_state_header (qtdemux.c:3866)
==2692== by 0xF4DBAB0: gst_qtdemux_loop (qtdemux.c:5268)
==2692== by 0x414DBD8: gst_task_func (gsttask.c:331)
==2692== by 0x414ED7E: default_func (gsttaskpool.c:68)
==2692== by 0x49EA404: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==2692== by 0x49E99A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list