gdiplus/tests: Disable double-freeing test.

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Thomas Faber 2020-04-11 16:53:18 +02:00 committed by Alexandre Julliard
parent 4cdb7ec829
commit 65c72c93ce
1 changed files with 3 additions and 0 deletions

View File

@ -3488,8 +3488,11 @@ static void test_dispose(void)
stat = GdipDisposeImage(image);
expect(Ok, stat);
if (0) {
/* Can crash with page heap or if the heap region is decommitted. */
stat = GdipDisposeImage(image);
expect(ObjectBusy, stat);
}
memset(invalid_image, 0, 256);
stat = GdipDisposeImage((GpImage*)invalid_image);