[Bug 759522] pnmdec: Fix memory leaks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 15 20:10:32 PST 2015


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

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

This handles scanner leak for corrupted files.

==4080== 236 (92 direct, 144 indirect) bytes in 1 blocks are definitely lost in
loss record 2,229 of 2,286
==4080==    at 0x402E109: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4080==    by 0x421CC4A: g_malloc0 (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==4080==    by 0x422CB3B: g_scanner_new (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==4080==    by 0x4161407: gst_pnmdec_parse (gstpnmdec.c:182)
==4080==    by 0x61D1116: gst_video_decoder_parse_available
(gstvideodecoder.c:1005)
==4080==    by 0x61D12C3: gst_video_decoder_chain_forward
(gstvideodecoder.c:2198)
==4080==    by 0x61D351D: gst_video_decoder_chain (gstvideodecoder.c:2494)
==4080==    by 0x40A2BA7: gst_pad_push_data (gstpad.c:4153)
==4080==    by 0x40AB866: gst_pad_push (gstpad.c:4524)
==4080==    by 0x61675A2: gst_base_src_loop (gstbasesrc.c:2845)
==4080==    by 0x40D9EA8: gst_task_func (gsttask.c:331)
==4080==    by 0x40DB04E: default_func (gsttaskpool.c:68)

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