wbemprox: Free name in create_signature (Coverity).
This commit is contained in:
parent
145c3e3abf
commit
1eee6e3159
|
@ -834,12 +834,11 @@ HRESULT create_signature( const WCHAR *class, const WCHAR *method, enum param_di
|
|||
}
|
||||
hr = create_signature_table( iter, name );
|
||||
IEnumWbemClassObject_Release( iter );
|
||||
if (hr != S_OK)
|
||||
{
|
||||
heap_free( name );
|
||||
return hr;
|
||||
}
|
||||
return get_object( name, sig );
|
||||
if (hr == S_OK)
|
||||
hr = get_object( name, sig );
|
||||
|
||||
heap_free( name );
|
||||
return hr;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI class_object_GetMethod(
|
||||
|
|
Loading…
Reference in New Issue