mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
close the handle before returning (XhmikosR and sansnom05)
This commit is contained in:
@@ -57,13 +57,11 @@ check_version ()
|
||||
buffer[dwRead] = 0;
|
||||
}
|
||||
|
||||
return buffer;
|
||||
|
||||
InternetCloseHandle (hFile);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
InternetCloseHandle (hINet);
|
||||
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user