diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-07-12 20:23:31 -0300 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2013-07-12 20:23:31 -0300 |
commit | 4bd2f755bacbbf8b2ca99d595d9fb39925b4ac26 (patch) | |
tree | 9fbc8500cd850b6caee58216e4cf481f235c0084 | |
parent | bccc3e2ec09d93c7fbc34230e06afe740f42e15a (diff) | |
parent | 281936b29535ae095350abb274acef0ae548a431 (diff) | |
download | php-git-4bd2f755bacbbf8b2ca99d595d9fb39925b4ac26.tar.gz |
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
- Fixed bug #65227 (Memory leak in gmp_cmp second parameter)
Fixed meta data retrieve when OID is larger than 2^31
-rw-r--r-- | ext/gmp/gmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index c9da09b230..f8c3a0773b 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -1333,6 +1333,7 @@ ZEND_FUNCTION(gmp_cmp) res = mpz_cmp_si(*gmpnum_a, Z_LVAL_PP(b_arg)); } else { res = mpz_cmp(*gmpnum_a, *gmpnum_b); + FREE_GMP_TEMP(temp_b); } FREE_GMP_TEMP(temp_a); |