Skip to content

Commit 29e1fc2

Browse files
committed
Fix ZIP after zend_list_close() voidification
1 parent 099564a commit 29e1fc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/zip/php_zip.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,8 @@ PHP_FUNCTION(zip_entry_close)
12901290
RETURN_THROWS();
12911291
}
12921292

1293-
RETURN_BOOL(SUCCESS == zend_list_close(Z_RES_P(zip_entry)));
1293+
zend_list_close(Z_RES_P(zip_entry));
1294+
RETURN_TRUE;
12941295
}
12951296
/* }}} */
12961297

0 commit comments

Comments
 (0)