mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +00:00
close the handle before returning (XhmikosR and sansnom05)
This commit is contained in:
1 parent
1759dc27ca
commit
299e90b418
1 file changed
+1
-3
+1
-3
@@ -57,13 +57,11 @@ check_version ()
|
|||||||
buffer[dwRead] = 0;
|
buffer[dwRead] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return buffer;
|
|
||||||
|
|
||||||
InternetCloseHandle (hFile);
|
InternetCloseHandle (hFile);
|
||||||
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
InternetCloseHandle (hINet);
|
InternetCloseHandle (hINet);
|
||||||
|
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user