[3/4] gdiplus: Fix leak in png metadata reader.
Vincent Povirk
madewokherd at gmail.com
Wed Apr 1 17:26:03 CDT 2015
-------------- next part --------------
From ecae8cc2efd856c76e4b75bd32f13e9e7c2fd347 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 3/6] 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