wininet/tests: Fix some memory leaks (Valgrind).

This commit is contained in:
Paul Vriens 2010-02-01 09:59:16 +01:00 committed by Alexandre Julliard
parent a9113f7b3c
commit 6c136e862b
1 changed files with 2 additions and 0 deletions

View File

@ -934,6 +934,7 @@ static void test_Option_PerConnectionOption(void)
list.pOptions[1].Value.dwValue);
verifyProxyEnable(1);
HeapFree(GetProcessHeap(), 0, list.pOptions[0].Value.pszValue);
HeapFree(GetProcessHeap(), 0, list.pOptions);
/* disable the proxy server */
@ -1060,6 +1061,7 @@ static void test_Option_PerConnectionOptionA(void)
"Retrieved flags should've been PROXY_TYPE_PROXY, was: %d\n",
list.pOptions[1].Value.dwValue);
HeapFree(GetProcessHeap(), 0, list.pOptions[0].Value.pszValue);
HeapFree(GetProcessHeap(), 0, list.pOptions);
/* restore original settings */