Commit 8633fd62 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddraw/tests: Release the palette after a GetPalette() call in PaletteTest() (Valgrind).

parent 6569337c
......@@ -2263,6 +2263,7 @@ static void PaletteTest(void)
hr = IDirectDrawSurface_GetPalette(backbuffer, &palette);
ok(hr == DD_OK, "CreateSurface returned: %x\n",hr);
IDirectDrawPalette_Release(palette);
IDirectDrawSurface_Release(backbuffer);
IDirectDrawSurface_Release(lpSurf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment