From 33b9fb3f803408e0e6fd9e071dd3abd6a4deb145 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Mon, 8 Dec 2008 15:16:10 -0600 Subject: [PATCH] gdiplus: fix a memory leak in GdipCombineRegionRegion --- dlls/gdiplus/region.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c index d28292c..4d694f4 100644 --- a/dlls/gdiplus/region.c +++ b/dlls/gdiplus/region.c @@ -360,6 +360,7 @@ GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1, delete_element(®ion1->node); memcpy(region1, reg2copy, sizeof(GpRegion)); + GdipFree(reg2copy); return Ok; } -- 1.5.6.3