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

This commit is contained in:
Henri Verbeet 2015-04-29 17:27:37 +02:00 committed by Alexandre Julliard
parent 6569337cb7
commit 8633fd625a
1 changed files with 1 additions and 0 deletions

View File

@ -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);