1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Fix resource leak in iptcembed() on error
This commit is contained in:
Niels Dossche
2025-04-02 21:06:35 +02:00

View File

@@ -204,6 +204,7 @@ PHP_FUNCTION(iptcembed)
if (spool < 2) {
if (zend_fstat(fileno(fp), &sb) != 0) {
fclose(fp);
RETURN_FALSE;
}