[1/4] gdiplus: Fix leak in png metadata reader.
Vincent Povirk
madewokherd at gmail.com
Mon Apr 6 16:57:23 CDT 2015
-------------- next part --------------
From e6cf58cf641f908523c498724364e28fc81b0f71 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Wed, 1 Apr 2015 15:25:39 -0500
Subject: [PATCH 01/14] gdiplus: Fix leak in png metadata reader.
---
dlls/gdiplus/image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index cda6a51..643cf6c 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -3494,6 +3494,7 @@ static void png_metadata_reader(GpBitmap *bitmap, IWICBitmapDecoder *decoder, UI
item = create_prop(keywords[j].propid, &value);
if (item)
add_property(bitmap, item);
+ GdipFree(item);
}
}
--
2.1.0
More information about the wine-patches
mailing list