We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6e76ac + 8a1f671 commit f4c594bCopy full SHA for f4c594b
NEWS
@@ -19,6 +19,7 @@ PHP NEWS
19
- Standard:
20
. Fixed bug GH-18145 (php8ts crashes in php_clear_stat_cache()).
21
(Jakub Zelenka)
22
+ . Fix resource leak in iptcembed() on error. (nielsdos)
23
24
- Tests:
25
. Address deprecated PHP 8.4 session options to prevent test failures.
ext/standard/iptc.c
@@ -204,6 +204,7 @@ PHP_FUNCTION(iptcembed)
204
205
if (spool < 2) {
206
if (zend_fstat(fileno(fp), &sb) != 0) {
207
+ fclose(fp);
208
RETURN_FALSE;
209
}
210
0 commit comments