diff options
author | Sterling Hughes <sterling@php.net> | 2001-05-31 23:48:05 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-05-31 23:48:05 +0000 |
commit | ad0fb091a367a1a8e7d287cf4a8e1f1967add0f1 (patch) | |
tree | cdac8029877f03642cb1cc3374ea9f8555891104 /ext | |
parent | 334ac7fc94d7bc5469f8e142907c858df1f2c6f7 (diff) | |
download | php-git-ad0fb091a367a1a8e7d287cf4a8e1f1967add0f1.tar.gz |
fix crash.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/zip/zip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c index dfcc99dc0a..dbc013b8c2 100644 --- a/ext/zip/zip.c +++ b/ext/zip/zip.c @@ -142,6 +142,8 @@ PHP_FUNCTION(zip_read) RETURN_FALSE; } + entry->fp = NULL; + ZEND_REGISTER_RESOURCE(return_value, entry, le_zip_entry); } /* }}} */ |