ddraw/tests: Release the palette after a GetPalette() call in PaletteTest() (Valgrind).
This commit is contained in:
parent
6569337cb7
commit
8633fd625a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue