From fc742d62f31637f9698cbd46f5ed1aea1847db6d Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 1 Jan 2019 17:49:13 +0100 Subject: Fix a harmless-but-invalid zend_string_release --- src/sp_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sp_crypt.c b/src/sp_crypt.c index 525da56..bfb622a 100644 --- a/src/sp_crypt.c +++ b/src/sp_crypt.c @@ -124,7 +124,7 @@ int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key) { ZSTR_LEN(debase64) - crypto_secretbox_NONCEBYTES - 1 - crypto_secretbox_ZEROBYTES); - zend_string_release(decrypted); + efree(decrypted); return ZEND_HASH_APPLY_KEEP; } -- cgit v1.3