gdiplus: Fix leak in png metadata reader.
This commit is contained in:
parent
1f4a4eca32
commit
d4f4c76bc6
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue