Commit 501b1e0a authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

dplayx/tests: Add a few missing HeapFree's.

parent 55faa6e9
...@@ -695,6 +695,8 @@ static void init_TCPIP_provider( LPDIRECTPLAY4 pDP, ...@@ -695,6 +695,8 @@ static void init_TCPIP_provider( LPDIRECTPLAY4 pDP,
hr = IDirectPlayX_InitializeConnection( pDP, pAddress, 0 ); hr = IDirectPlayX_InitializeConnection( pDP, pAddress, 0 );
todo_wine checkHR( DP_OK, hr ); todo_wine checkHR( DP_OK, hr );
HeapFree( GetProcessHeap(), 0, pAddress );
} }
static BOOL CALLBACK EnumSessions_cb_join( LPCDPSESSIONDESC2 lpThisSD, static BOOL CALLBACK EnumSessions_cb_join( LPCDPSESSIONDESC2 lpThisSD,
...@@ -1779,6 +1781,7 @@ static void test_SessionDesc(void) ...@@ -1779,6 +1781,7 @@ static void test_SessionDesc(void)
checkStr( "S1,S1,S1,S1,S1,S1,", callbackData.szTrace1 ); checkStr( "S1,S1,S1,S1,S1,S1,", callbackData.szTrace1 );
checkStr( "90,90,90,90,90,90,", callbackData.szTrace2 ); checkStr( "90,90,90,90,90,90,", callbackData.szTrace2 );
HeapFree( GetProcessHeap(), 0, lpDataMsg );
for (i=0; i<2; i++) for (i=0; i<2; i++)
{ {
HeapFree( GetProcessHeap(), 0, lpData[i] ); HeapFree( GetProcessHeap(), 0, lpData[i] );
...@@ -6206,6 +6209,7 @@ static void test_remote_data_replication(void) ...@@ -6206,6 +6209,7 @@ static void test_remote_data_replication(void)
checkStr( "", callbackData.szTrace1 ); checkStr( "", callbackData.szTrace1 );
HeapFree( GetProcessHeap(), 0, lpDataGet );
HeapFree( GetProcessHeap(), 0, lpData ); HeapFree( GetProcessHeap(), 0, lpData );
IDirectPlayX_Release( pDP[0] ); IDirectPlayX_Release( pDP[0] );
IDirectPlayX_Release( pDP[1] ); IDirectPlayX_Release( pDP[1] );
......
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