Vincent Povirk : gdiplus: Do not call delete_element(NULL).
Alexandre Julliard
julliard at winehq.org
Mon Jan 26 10:13:50 CST 2009
Module: wine
Branch: master
Commit: 3184dc9125a472388d69b0741996a501a2313095
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3184dc9125a472388d69b0741996a501a2313095
Author: Vincent Povirk <madewokherd at gmail.com>
Date: Sat Jan 24 00:30:50 2009 -0600
gdiplus: Do not call delete_element(NULL).
---
dlls/gdiplus/region.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c
index 4d694f4..89b107f 100644
--- a/dlls/gdiplus/region.c
+++ b/dlls/gdiplus/region.c
@@ -268,7 +268,6 @@ GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, Combin
out:
GdipFree(left);
- delete_element(right);
GdipDeleteRegion(path_region);
return stat;
}
@@ -315,7 +314,6 @@ GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region,
out:
GdipFree(left);
- delete_element(right);
GdipDeleteRegion(rect_region);
return stat;
}
@@ -373,7 +371,6 @@ GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1,
if (stat != Ok)
{
GdipFree(left);
- delete_element(right);
return OutOfMemory;
}
More information about the wine-cvs
mailing list