[Bug 760821] tracerrecord: Fix memory leaks and mishandlings

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 20 17:01:54 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760821

Vineeth <vineeth.tm at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #319324|0                           |1
        is obsolete|                            |

--- Comment #9 from Vineeth <vineeth.tm at samsung.com> ---
Created attachment 319472
  --> https://bugzilla.gnome.org/attachment.cgi?id=319472&action=edit
Fix tracer record leak

tracer_record

==1272== 166 (64 direct, 102 indirect) bytes in 1 blocks are definitely lost in
loss record 1,475 of 1,503
==1272==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1272==    by 0x423EBE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==1272==    by 0x4255281: g_slice_alloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==1272==    by 0x425579C: g_slice_alloc0 (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==1272==    by 0x41CFACD: g_type_create_instance (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==1272==    by 0x41B28FD: ??? (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==1272==    by 0x41B4D96: g_object_new_valist (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==1272==    by 0x41B4FEF: g_object_new (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==1272==    by 0x40FFC45: gst_tracer_record_new (gsttracerrecord.c:226)
==1272==    by 0x8049706: serialize_message_logging (gsttracerrecord.c:78)
==1272==    by 0x404FB6A: srunner_run (check_run.c:450)
==1272==    by 0x404FC22: srunner_run_all (check_run.c:674)
==1272==    by 0x4042A57: gst_check_run_suite (gstcheck.c:824)
==1272==    by 0x8048F14: main (gsttracerrecord.c:167)

-- 
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