diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-31 18:26:54 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-31 18:26:54 +0000 |
commit | 1b9e8f963db76d8cb2d67b7b724bdd7048ae273a (patch) | |
tree | 2100bf674f45b3a1cc41217d4310fd969f0ab996 /chrome | |
parent | 02a9d6406c7047e6a5b81ddf2e1b8473ba1415c1 (diff) | |
download | chromium_src-1b9e8f963db76d8cb2d67b7b724bdd7048ae273a.zip chromium_src-1b9e8f963db76d8cb2d67b7b724bdd7048ae273a.tar.gz chromium_src-1b9e8f963db76d8cb2d67b7b724bdd7048ae273a.tar.bz2 |
Fix a leak in unzip code. I was calling the wrong close function.
TBR=aa
Review URL: http://codereview.chromium.org/17039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/unzip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/unzip.cc b/chrome/common/unzip.cc index 35f262c..4295a21 100644 --- a/chrome/common/unzip.cc +++ b/chrome/common/unzip.cc @@ -195,7 +195,7 @@ bool Unzip(const FilePath& zip_path, const FilePath& dest_dir, } } } - unzCloseCurrentFile(zip_file); + unzClose(zip_file); return ret; } |