[Bug 760821] tracerrecord: Fix memory leaks and mishandlings

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 18 21:47:40 PST 2016


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

--- Comment #2 from Vineeth <vineeth.tm at samsung.com> ---
Created attachment 319323
  --> https://bugzilla.gnome.org/attachment.cgi?id=319323&action=edit
initialize flags to avoid wrong comparision.

since the flags is not initalized, while running tracerrecord tests, get the
below error

==21050== Conditional jump or move depends on uninitialised value(s)
==21050==    at 0x40FF75B: build_field_template (gsttracerrecord.c:86)
==21050==    by 0x40F0BCA: gst_structure_foreach (gststructure.c:1126)
==21050==    by 0x40FFA37: gst_tracer_record_set_property
(gsttracerrecord.c:124)
==21050==    by 0x41B2D97: ??? (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==21050==    by 0x41B4D96: g_object_new_valist (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==21050==    by 0x41B4FEF: g_object_new (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==21050==    by 0x40FFC45: gst_tracer_record_new (gsttracerrecord.c:227)
==21050==    by 0x804970D: serialize_message_logging (gsttracerrecord.c:82)
==21050==    by 0x404FB6A: srunner_run (check_run.c:450)
==21050==    by 0x404FC22: srunner_run_all (check_run.c:674)
==21050==    by 0x4042A57: gst_check_run_suite (gstcheck.c:824)
==21050==    by 0x8048F14: main (gsttracerrecord.c:184)

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