summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_close.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-02-01 18:58:42 +0000
committerPierre Joye <pajoye@php.net>2010-02-01 18:58:42 +0000
commita28a91cc0cd85de52ee34a799621efebb2938590 (patch)
tree78ed862658005ebf8b6b38e89f473c7d69677fd6 /ext/zip/lib/zip_close.c
parent7b68aab24c89c636ff75964dd0bfbcad9292208a (diff)
downloadphp-git-a28a91cc0cd85de52ee34a799621efebb2938590.tar.gz
- fix leak
Diffstat (limited to 'ext/zip/lib/zip_close.c')
-rw-r--r--ext/zip/lib/zip_close.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/zip/lib/zip_close.c b/ext/zip/lib/zip_close.c
index bc640c77b2..982ee855f2 100644
--- a/ext/zip/lib/zip_close.c
+++ b/ext/zip/lib/zip_close.c
@@ -135,6 +135,7 @@ zip_close(struct zip *za)
if ((temp=_zip_create_temp_output(za, &out)) == NULL) {
_zip_cdir_free(cd);
+ free(filelist);
return -1;
}