oleaut32: Local variable goes out of scope via pointer (Coverity).
This commit is contained in:
parent
7fb4e2ae45
commit
d9908d2abd
|
@ -338,6 +338,7 @@ HRESULT WINAPI OleCreateFontIndirect(
|
|||
{
|
||||
OLEFontImpl* newFont = 0;
|
||||
HRESULT hr = S_OK;
|
||||
FONTDESC fd;
|
||||
|
||||
TRACE("(%p, %s, %p)\n", lpFontDesc, debugstr_guid(riid), ppvObj);
|
||||
/*
|
||||
|
@ -349,8 +350,6 @@ HRESULT WINAPI OleCreateFontIndirect(
|
|||
*ppvObj = 0;
|
||||
|
||||
if (!lpFontDesc) {
|
||||
FONTDESC fd;
|
||||
|
||||
static WCHAR fname[] = { 'S','y','s','t','e','m',0 };
|
||||
|
||||
fd.cbSizeofstruct = sizeof(fd);
|
||||
|
|
Loading…
Reference in New Issue