From 0f90e6314a1beafb25721d56f13d3bfa3a00392c Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 12 Jan 2011 08:03:49 +0100 Subject: [PATCH] oops, accidentally re-introduced the memory leak --- plugins/upd/upd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index 0c1cc1e7..2d5c3a4b 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -56,14 +56,12 @@ check_version () } buffer[dwRead] = 0; } - - return buffer; InternetCloseHandle (hFile); + return buffer; } InternetCloseHandle (hINet); - return "Unknown"; }