Commit f2459fa8 authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

wbemproxy/tests: Prevent double free (Coverity).

parent 7f5f904c
...@@ -2162,7 +2162,6 @@ static void test_Win32_LogicalDisk( IWbemServices *services ) ...@@ -2162,7 +2162,6 @@ static void test_Win32_LogicalDisk( IWbemServices *services )
ok( hr == S_OK, "got %#lx\n", hr ); ok( hr == S_OK, "got %#lx\n", hr );
ok( count == 1, "got %lu\n", count ); ok( count == 1, "got %lu\n", count );
IWbemClassObject_Release( obj ); IWbemClassObject_Release( obj );
SysFreeString( query );
IEnumWbemClassObject_Release( result ); IEnumWbemClassObject_Release( result );
SysFreeString( query ); SysFreeString( query );
SysFreeString( wql ); SysFreeString( wql );
......
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