Commit d2590f20 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

wbemprox: Return NULL on error (Coverity).

parent 06d72b61
......@@ -3886,7 +3886,7 @@ static struct array *get_systemenclosure_chassistypes( const char *buf, UINT len
if (!(types = heap_alloc( sizeof(*types) )))
{
heap_free( ret );
goto done;
return NULL;
}
types[0] = chassis->type & ~0x80;
......
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