We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c007dca + e3fbfdd commit 81ae606Copy full SHA for 81ae606
NEWS
@@ -17,6 +17,7 @@ PHP NEWS
17
- FPM:
18
. Fixed GH-11086 (FPM: config test runs twice in daemonised mode).
19
(Jakub Zelenka)
20
+ . Fix incorrect check in fpm_shm_free(). (nielsdos)
21
22
- GD:
23
. Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
sapi/fpm/fpm/fpm_shm.c
@@ -50,7 +50,7 @@ int fpm_shm_free(void *mem, size_t size) /* {{{ */
50
return 0;
51
}
52
53
- if (fpm_shm_size - size > 0) {
+ if (fpm_shm_size > size) {
54
fpm_shm_size -= size;
55
} else {
56
fpm_shm_size = 0;
0 commit comments