Signed-off-by: Thomas Faber thomas.faber@reactos.org --- dlls/gdiplus/tests/image.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 0b4ae3cd9c..145eadbfd3 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -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); -- 2.25.0.windows.1