Module: wine Branch: master Commit: 65c72c93ce258bb2aabdfd870a51a6e96fde388d URL: https://source.winehq.org/git/wine.git/?a=commit;h=65c72c93ce258bb2aabdfd870...
Author: Thomas Faber thomas.faber@reactos.org Date: Sat Apr 11 16:53:18 2020 +0200
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
---
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);