[Bug 760821] tracerrecord: Fix memory leaks and mishandlings

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


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

--- Comment #10 from Vineeth <vineeth.tm at samsung.com> ---
Created attachment 319473
  --> https://bugzilla.gnome.org/attachment.cgi?id=319473&action=edit
fix str_val string leak

str_val string

==1436== 5 bytes in 1 blocks are definitely lost in loss record 39 of 1,495
==1436==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1436==    by 0x423EBE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==1436==    by 0x4256E1C: g_strdup (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==1436==    by 0x41D73C7: ??? (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==1436==    by 0x40F3189: gst_structure_get_valist (gststructure.c:3032)
==1436==    by 0x40F37A7: gst_structure_get (gststructure.c:3161)
==1436==    by 0x80492E9: serialize_static_record (gsttracerrecord.c:128)
==1436==    by 0x404FB6A: srunner_run (check_run.c:450)
==1436==    by 0x404FC22: srunner_run_all (check_run.c:674)
==1436==    by 0x4042A57: gst_check_run_suite (gstcheck.c:824)
==1436==    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