opengl32/tests: Fix leak in opengl test (valgrind).

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Daniel Lehman 2017-02-06 21:03:24 -08:00 committed by Alexandre Julliard
parent d14456ceff
commit 55023fc037
1 changed files with 3 additions and 0 deletions

View File

@ -670,6 +670,9 @@ static void test_bitmap_rendering( BOOL use_dib )
glGetIntegerv( GL_VIEWPORT, viewport );
ok( viewport[0] == 0 && viewport[1] == 0 && viewport[2] == 12 && viewport[3] == 12,
"wrong viewport %d,%d,%d,%d\n", viewport[0], viewport[1], viewport[2], viewport[3] );
wglDeleteContext(hglrc2);
wglDeleteContext(hglrc);
}
}