From: Dmitry Stogov Date: Thu, 27 Dec 2018 19:35:37 +0000 (+0300) Subject: Removed useless check X-Git-Tag: php-7.4.0alpha1~1329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2179309f49d019ac1dd24d92cc9e0ea2c26d5e1;p=php Removed useless check --- diff --git a/ext/phar/dirstream.c b/ext/phar/dirstream.c index 70e696a167..548ef14d07 100644 --- a/ext/phar/dirstream.c +++ b/ext/phar/dirstream.c @@ -44,9 +44,8 @@ static int phar_dir_close(php_stream *stream, int close_handle) /* {{{ */ { HashTable *data = (HashTable *)stream->abstract; - if (data && HT_FLAGS(data)) { + if (data) { zend_hash_destroy(data); - HT_FLAGS(data) = 0; FREE_HASHTABLE(data); stream->abstract = NULL; }