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:
parent
4cdb7ec829
commit
65c72c93ce
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue