Thomas Faber : gdiplus/tests: Disable double-freeing test.

Alexandre Julliard julliard at winehq.org
Mon Apr 13 15:05:55 CDT 2020


Module: wine
Branch: master
Commit: 65c72c93ce258bb2aabdfd870a51a6e96fde388d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=65c72c93ce258bb2aabdfd870a51a6e96fde388d

Author: Thomas Faber <thomas.faber at reactos.org>
Date:   Sat Apr 11 16:53:18 2020 +0200

gdiplus/tests: Disable double-freeing test.

Signed-off-by: Thomas Faber <thomas.faber at reactos.org>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.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);




More information about the wine-cvs mailing list