Commit 20ef8d29 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

d3dx9_36: Fixed typo in HeapAlloc return checking (Coverity).

parent 5ce8c7a5
......@@ -3687,7 +3687,7 @@ static BOOL compute_text_mesh(struct mesh *mesh, HDC hdc, const char *text,
}
HeapFree(GetProcessHeap(), 0, raw_outline);
raw_outline = HeapAlloc(GetProcessHeap(), 0, datasize);
if (!glyphs) {
if (!raw_outline) {
hr = E_OUTOFMEMORY;
goto error;
}
......
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