1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 09:12:22 -05:00

close the handle before returning (XhmikosR and sansnom05)

This commit is contained in:
berkeviktor@aol.com 2011-01-12 00:22:41 +01:00
parent 1759dc27ca
commit 299e90b418

View File

@ -57,13 +57,11 @@ check_version ()
buffer[dwRead] = 0;
}
return buffer;
InternetCloseHandle (hFile);
return buffer;
}
InternetCloseHandle (hINet);
return "Unknown";
}