GNOME Bugzilla – Bug 762117
avidemux: Fix string memory leak
Last modified: 2016-04-14 17:42:50 UTC
==27271== 161 bytes in 7 blocks are definitely lost in loss record 4,193 of 4,339 ==27271== at 0x402C17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27271== by 0x425BBE2: g_malloc (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==27271== by 0x4273E1C: g_strdup (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==27271== by 0x50CA67B: gst_riff_create_video_caps (riff-media.c:923) ==27271== by 0x50AF2E0: gst_avi_demux_parse_stream (gstavidemux.c:2284) ==27271== by 0x50BA940: gst_avi_demux_loop (gstavidemux.c:4041) ==27271== by 0x4119EB8: gst_task_func (gsttask.c:331) ==27271== by 0x411B05E: default_func (gsttaskpool.c:68) ==27271== by 0x427D404: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==27271== by 0x427C9A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==27271== by 0x4321F6F: start_thread (pthread_create.c:312) ==27271== by 0x4423BED: clone (clone.S:129)
Created attachment 321330 [details] [review] fix string memory leak
Thanks for the patch! commit dc70bfd36a8851eb42010773165ad8b7f7f19d49 Author: Vineeth TM <vineeth.tm@samsung.com> Date: Tue Feb 16 09:02:30 2016 +0900 avidemux: Fix string memory leak codec_name is not being freed in all conditions leading to memory leak https://bugzilla.gnome.org/show_bug.cgi?id=762117