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

This commit is contained in:
Marcus Meissner 2014-07-22 08:24:55 +02:00 committed by Alexandre Julliard
parent 5ce8c7a5a7
commit 20ef8d2991
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}