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:
parent
89e5c26236
commit
c1c555e3df
|
@ -2108,6 +2108,8 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile * metafile,
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
memset(header, 0, sizeof(MetafileHeader));
|
||||||
|
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue