Sebastian Lackner : gdiplus: Initialize containers list in GdipCloneImage.
Module: wine Branch: master Commit: a4b7fe6a92ec5fd709156c6d3547730929833248 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4b7fe6a92ec5fd709156c6d35... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Fri Jun 16 16:06:12 2017 +0200 gdiplus: Initialize containers list in GdipCloneImage. Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/gdiplus/image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 07609ac..720f8f2 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -1333,6 +1333,7 @@ GpStatus WINGDIPAPI GdipCloneImage(GpImage *image, GpImage **cloneImage) result->unit = metafile->unit; result->metafile_type = metafile->metafile_type; result->hemf = CopyEnhMetaFileW(metafile->hemf, NULL); + list_init(&result->containers); if (!result->hemf) {
participants (1)
-
Alexandre Julliard