dwrite: Check correct variable (Coverity).
This commit is contained in:
parent
8a7d4c7f22
commit
b12381a04a
|
@ -364,7 +364,7 @@ HRESULT clone_localizedstring(IDWriteLocalizedStrings *iface, IDWriteLocalizedSt
|
|||
*strings = NULL;
|
||||
|
||||
New = heap_alloc(sizeof(struct localizedstrings));
|
||||
if (!This) return E_OUTOFMEMORY;
|
||||
if (!New) return E_OUTOFMEMORY;
|
||||
|
||||
New->IDWriteLocalizedStrings_iface.lpVtbl = &localizedstringsvtbl;
|
||||
New->ref = 1;
|
||||
|
|
Loading…
Reference in New Issue