GNOME Bugzilla – Bug 761071
tests: gstinfo: Fix string memory leak
Last modified: 2016-01-25 12:48:14 UTC
Fix string leak ==13500== 5 bytes in 1 blocks are definitely lost in loss record 38 of 1,472 ==13500== at 0x402C17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==13500== by 0x43C32AF: __vasprintf_chk (vasprintf_chk.c:80) ==13500== by 0x422B689: g_vasprintf (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==13500== by 0x4204FF2: g_strdup_vprintf (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==13500== by 0x4205022: g_strdup_printf (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==13500== by 0x804AD00: info_fourcc (gstinfo.c:418) ==13500== by 0x404FB6A: srunner_run (check_run.c:450) ==13500== by 0x404FC22: srunner_run_all (check_run.c:674) ==13500== by 0x4042A57: gst_check_run_suite (gstcheck.c:824) ==13500== by 0x80492F8: main (gstinfo.c:449)
Created attachment 319647 [details] [review] Fix string leak
commit ca97a9882f79bbefd14bd5bcda572c3dab08db32 Author: Vineeth TM <vineeth.tm@samsung.com> Date: Mon Jan 25 12:09:54 2016 +0900 tests:gstinfo: Fix string memory leak info_fourcc test leaks string. https://bugzilla.gnome.org/show_bug.cgi?id=761071