From 23024949a3fcb28c6fdb8d3bd011580c70174f08 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jan 2018 14:18:28 +0300 Subject: fix for an exception in 32-bit mode --- plugins/PluginUpdater/src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index aea147a0f1..4c8db5f5a2 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -161,7 +161,7 @@ bool ParseHashes(const wchar_t *ptszUrl, ptrW &baseUrl, SERVLIST &arHashes) mir_snwprintf(pFileUrl.tszDiskPath, L"%s\\hashes.zip", g_tszTempPath); pFileUrl.CRCsum = 0; - HNETLIBCONN nlc; + HNETLIBCONN nlc = nullptr; bool ret = DownloadFile(&pFileUrl, nlc); Netlib_CloseHandle(nlc); -- cgit v1.2.3