gdiplus: Zero the MetafileHeader structure in GetMetafileHeader.

Since we return success, we should at least make sure the result is not
uninitialized memory.
This commit is contained in:
Vincent Povirk 2010-03-08 15:09:13 -06:00 committed by Alexandre Julliard
parent 89e5c26236
commit c1c555e3df
1 changed files with 2 additions and 0 deletions

View File

@ -2108,6 +2108,8 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile * metafile,
if(!(calls++))
FIXME("not implemented\n");
memset(header, 0, sizeof(MetafileHeader));
return Ok;
}