Skip to content
Snippets Groups Projects
Commit 6c136e86 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard
Browse files

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

parent a9113f7b
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment