gdiplus: Initialize containers list in GdipCloneImage.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Sebastian Lackner 2017-06-16 16:06:12 +02:00 committed by Alexandre Julliard
parent 95a49bdce6
commit a4b7fe6a92
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{