wbemprox: Free server on exit (Coverity).
This commit is contained in:
parent
423a8ccce8
commit
9d593b1183
|
@ -193,6 +193,7 @@ static HRESULT WINAPI wbem_locator_ConnectServer(
|
|||
|
||||
hr = WbemServices_create( NULL, namespace, (void **)ppNamespace );
|
||||
heap_free( namespace );
|
||||
heap_free( server );
|
||||
if (SUCCEEDED( hr ))
|
||||
return WBEM_NO_ERROR;
|
||||
|
||||
|
|
Loading…
Reference in New Issue