Commit b12381a0 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

dwrite: Check correct variable (Coverity).

parent 8a7d4c7f
...@@ -364,7 +364,7 @@ HRESULT clone_localizedstring(IDWriteLocalizedStrings *iface, IDWriteLocalizedSt ...@@ -364,7 +364,7 @@ HRESULT clone_localizedstring(IDWriteLocalizedStrings *iface, IDWriteLocalizedSt
*strings = NULL; *strings = NULL;
New = heap_alloc(sizeof(struct localizedstrings)); New = heap_alloc(sizeof(struct localizedstrings));
if (!This) return E_OUTOFMEMORY; if (!New) return E_OUTOFMEMORY;
New->IDWriteLocalizedStrings_iface.lpVtbl = &localizedstringsvtbl; New->IDWriteLocalizedStrings_iface.lpVtbl = &localizedstringsvtbl;
New->ref = 1; New->ref = 1;
......
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