GNOME Bugzilla – Bug 757927
tests:video: Fix overlay rectangle and buffer leak
Last modified: 2015-11-11 14:49:02 UTC
Created overlay rectangle is not being freed in video tests ==20661== 20,555 (200 direct, 20,355 indirect) bytes in 1 blocks are definitely lost in loss record 1,514 of 1,514 ==20661== at 0x402C17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==20661== by 0x42AEBE2: g_malloc (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==20661== by 0x42C5281: g_slice_alloc (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==20661== by 0x42C579C: g_slice_alloc0 (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==20661== by 0x408312B: gst_video_overlay_rectangle_new_raw (video-overlay-composition.c:709) ==20661== by 0x80528E8: test_overlay_composition_over_transparency (video.c:2663) ==20661== by 0x40C2BAA: srunner_run (check_run.c:450) ==20661== by 0x40C2C62: srunner_run_all (check_run.c:674) ==20661== by 0x40B5A97: gst_check_run_suite (gstcheck.c:825) ==20661== by 0x804A667: main (video.c:2728)
Created attachment 315226 [details] [review] fix memory leak
Created attachment 315227 [details] [review] fix memory leaks Fix buffer leak as well.
commit b0b0536f91a1bbd23a93809c82d23e2c47e90d5f Author: Vineeth TM <vineeth.tm@samsung.com> Date: Wed Nov 11 14:44:55 2015 +0900 tests:video: Fix overlay rectangle and buffer leak Created overlay rectangle is not being freed in video tests pix2 buffer is being created and not freed https://bugzilla.gnome.org/show_bug.cgi?id=757927