Skip to content
Snippets Groups Projects
Commit a0f1dc38 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

test: opengl/filters: release leaking picture

Fix the following leak:

    Direct leak of 440 byte(s) in 1 object(s) allocated from:
        #0 0x7f16238e1369 in __interceptor_malloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:69
        #1 0x7f162362bb1b in picture_NewFromFormat ../../src/misc/picture.c:271
        #2 0x55a72c5485c7 in test_opengl_offscreen ../../test/modules/video_output/opengl/filters.c:158
        #3 0x55a72c547005 in main ../../test/modules/video_output/opengl/filters.c:294
        #4 0x7f162314c84f  (/usr/lib/libc.so.6+0x2384f) (BuildId: 2f005a79cd1a8e385972f5a102f16adba414d75e)
parent ddac94b9
No related branches found
No related tags found
Loading
Pipeline #362460 passed with stage
in 29 minutes and 9 seconds
......@@ -213,6 +213,8 @@ static void test_opengl_offscreen(
vlc_gl_ReleaseCurrent(gl);
vlc_gl_Delete(gl);
picture_Release(picture);
}
int main( int argc, char **argv )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment