[RAPPS]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 4 Dec 2015 11:10:52 +0000 (11:10 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 4 Dec 2015 11:10:52 +0000 (11:10 +0000)
Don't leak memory

CID 1341348

svn path=/trunk/; revision=70263

reactos/base/applications/rapps/loaddlg.c

index 11197ac..b81b642 100644 (file)
@@ -286,6 +286,7 @@ static BOOL CertIsValid(HINTERNET hInternet, LPWSTR lpszHostName)
             }
             InternetCloseHandle(hRequest);
         }
+        InternetCloseHandle(hConnect);
     }
     return Ret;
 }