diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-09-12 17:56:28 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-09-12 17:56:28 +0000 |
commit | defd749fd3022ebd167b33ca968a8f38bf15a6cb (patch) | |
tree | 0416fae4a03d478bb59b3593849e23500acf35e2 | |
parent | 57defac991fa739fdcdb9451a29614feb66a6874 (diff) |
Fixed file handle leak in SV_BeginDownload_f.
-rw-r--r-- | source/sv_user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/sv_user.c b/source/sv_user.c index bbc673a..b4ba1be 100644 --- a/source/sv_user.c +++ b/source/sv_user.c @@ -696,6 +696,8 @@ static void SV_BeginDownload_f( void ) { goto fail3; } + FS_FCloseFile( f ); + sv_client->download = download; sv_client->downloadsize = downloadsize; sv_client->downloadcount = offset; |