Changes between Initial Version and Version 2 of Ticket #59467
- Timestamp:
- 09/26/2023 09:25:46 PM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59467 – Description
initial v2 11 11 As this function is used during installation and upgrade processes which are memory-intensive, let's free the archive before each of the `return` statements, rather than waiting until the end of the script. 12 12 13 Note: The `return` that gets used as a result of `true !== $zopen` does not need a call to `$z- close()`, as freeing the archive is [https://github.com/nih-at/libzip/blob/main/lib/zip_open.c#L62-L73 handled internally] by libzip's `zip_open()`.13 Note: The `return` that gets used as a result of `true !== $zopen` does not need a call to `$z->close()`, as freeing the archive is [https://github.com/nih-at/libzip/blob/main/lib/zip_open.c#L62-L73 handled internally] by libzip's `zip_open()`. 14 14 15 15 -----