[Bug 759518] yadif: Fix memory leak and mishandling.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 15 15:27:58 PST 2015


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

--- Comment #1 from Vineeth <vineeth.tm at samsung.com> ---
Created attachment 317461
  --> https://bugzilla.gnome.org/attachment.cgi?id=317461&action=edit
Fix gvalue memory leak

When testing the example pipeline of yadif with valgrind, found the below
memory leak

==11656== Thread 1:
==11656== 112 bytes in 4 blocks are definitely lost in loss record 2,187 of
2,393
==11656==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==11656==    by 0x421CBE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==11656==    by 0x4233281: g_slice_alloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==11656==    by 0x41E9219: g_array_sized_new (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==11656==    by 0x41E934F: g_array_new (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==11656==    by 0x40EBF9A: gst_value_init_list_or_array (gstvalue.c:284)
==11656==    by 0x41B1B7D: g_value_reset (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==11656==    by 0x41741A3: gst_yadif_transform_caps (gstyadif.c:246)
==11656==    by 0x616CA1C: gst_base_transform_transform_caps
(gstbasetransform.c:536)
==11656==    by 0x6171CFA: gst_base_transform_default_query
(gstbasetransform.c:757)
==11656==    by 0x616EF5B: gst_base_transform_query (gstbasetransform.c:1622)
==11656==    by 0x40A97F9: gst_pad_query (gstpad.c:3898)

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