[php-src] PR #18432: Fix GH-18431: Registering ZIP progress callback twice doesn't work
| From: | nielsdos | Date: | Sat, 26 Apr 2025 10:49:48 +0000 |
| Subject: | [php-src] PR #18432: Fix GH-18431: Registering ZIP progress callback twice doesn't work | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31528@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18432
Author: nielsdos
Libzip already cleans up the previous callback, so when that means:
1. The callback zval being already copied over the previous one causes libzip to clean up the new
callback object. This is the root cause.
2. Our own code to clean the old callback is redundant.