diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-01-12 00:22:41 +0100 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-01-12 00:22:41 +0100 |
commit | 299e90b418c1f97e05bdd40f5850a8fff847928b (patch) | |
tree | 582628b3ba3106efbbb44a41b6dbf10e695947fd | |
parent | 1759dc27ca9ce0095fdc8ff53dc3728dfff78595 (diff) |
close the handle before returning (XhmikosR and sansnom05)
-rw-r--r-- | plugins/upd/upd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index c5ff8b84..0186ed3c 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -57,13 +57,11 @@ check_version () buffer[dwRead] = 0; } - return buffer; - InternetCloseHandle (hFile); + return buffer; } InternetCloseHandle (hINet); - return "Unknown"; } |