Commit d9908d2a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

oleaut32: Local variable goes out of scope via pointer (Coverity).

parent 7fb4e2ae
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment