[Bug 759520] pnmenc: Fix memory leaks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 15 16:07:14 PST 2015


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

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

==17823== Thread 1:
==17823== 16 bytes in 1 blocks are definitely lost in loss record 966 of 2,112
==17823==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==17823==    by 0x43F32AF: __vasprintf_chk (vasprintf_chk.c:80)
==17823==    by 0x425B689: g_vasprintf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17823==    by 0x4234FF2: g_strdup_vprintf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17823==    by 0x4235022: g_strdup_printf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17823==    by 0x41758FF: gst_pnmenc_handle_frame (gstpnmenc.c:199)
==17823==    by 0x4CBC11A: gst_video_encoder_chain (gstvideoencoder.c:1480)
==17823==    by 0x40A2BA7: gst_pad_push_data (gstpad.c:4153)
==17823==    by 0x40AB866: gst_pad_push (gstpad.c:4524)
==17823==    by 0x616F1A5: gst_base_transform_chain (gstbasetransform.c:2369)
==17823==    by 0x40A2BA7: gst_pad_push_data (gstpad.c:4153)
==17823==    by 0x40AB866: gst_pad_push (gstpad.c:4524)

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