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.
1 parent 0ddb3d9 commit 281936bCopy full SHA for 281936b
NEWS
@@ -26,6 +26,9 @@ PHP NEWS
26
. Fixed bug #63983 (enabling FPM borks compile on FreeBSD).
27
(chibisuke at web dot de, Felipe)
28
29
+- GMP:
30
+ . Fixed bug #65227 (Memory leak in gmp_cmp second parameter). (Felipe)
31
+
32
- Imap:
33
. Fixed bug #64467 (Segmentation fault after imap_reopen failure).
34
(askalski at gmail dot com)
ext/gmp/gmp.c
@@ -1333,6 +1333,7 @@ ZEND_FUNCTION(gmp_cmp)
1333
res = mpz_cmp_si(*gmpnum_a, Z_LVAL_PP(b_arg));
1334
} else {
1335
res = mpz_cmp(*gmpnum_a, *gmpnum_b);
1336
+ FREE_GMP_TEMP(temp_b);
1337
}
1338
FREE_GMP_TEMP(temp_a);
1339
0 commit comments