From a30dab3f8c9081d922b7287801b882001077ddeb Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 1 May 2017 21:40:40 +0100 Subject: [PATCH setup] Close rather than leak InternetOpenUrl() handles with errors --- nio-ie5.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/nio-ie5.cc b/nio-ie5.cc index 3375c04..ba19ffa 100644 --- a/nio-ie5.cc +++ b/nio-ie5.cc @@ -122,6 +122,7 @@ try_again: } else if (type >= 300) { + InternetCloseHandle (connection); connection = 0; return; } -- 2.12.2