wbemprox: Free server on exit (Coverity).

This commit is contained in:
Marcus Meissner 2013-05-09 10:30:44 +02:00 committed by Alexandre Julliard
parent 423a8ccce8
commit 9d593b1183
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ static HRESULT WINAPI wbem_locator_ConnectServer(
hr = WbemServices_create( NULL, namespace, (void **)ppNamespace ); hr = WbemServices_create( NULL, namespace, (void **)ppNamespace );
heap_free( namespace ); heap_free( namespace );
heap_free( server );
if (SUCCEEDED( hr )) if (SUCCEEDED( hr ))
return WBEM_NO_ERROR; return WBEM_NO_ERROR;