diff options
| author | BeF | 2022-07-20 12:15:07 +0200 |
|---|---|---|
| committer | GitHub | 2022-07-20 12:15:07 +0200 |
| commit | 2aed4220c2d019cc9b46fec70cfd79d249498e14 (patch) | |
| tree | e7cc3d1d4db617fc5ab1dbcc60f2366407eb5da5 /src/sp_crypt.c | |
| parent | 72109c9bf016145364b19162a5ff998fc5858a9c (diff) | |
| parent | 75595945d1d868fbd6db743809ca8a3eb5de3113 (diff) | |
Merge pull request #1 from jvoisin/pr1
pr for fetching upstream
Diffstat (limited to 'src/sp_crypt.c')
| -rw-r--r-- | src/sp_crypt.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sp_crypt.c b/src/sp_crypt.c index c1d9403..a27cc67 100644 --- a/src/sp_crypt.c +++ b/src/sp_crypt.c | |||
| @@ -115,10 +115,9 @@ int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key) { | |||
| 115 | ret = ZEND_HASH_APPLY_KEEP; | 115 | ret = ZEND_HASH_APPLY_KEEP; |
| 116 | 116 | ||
| 117 | out: | 117 | out: |
| 118 | 118 | zend_string_efree(debase64); | |
| 119 | if (debase64) { zend_string_efree(debase64); } | 119 | efree(decrypted); |
| 120 | if (decrypted) { efree(decrypted); } | 120 | efree(backup); |
| 121 | if (backup) { efree(backup); } | ||
| 122 | 121 | ||
| 123 | return ret; | 122 | return ret; |
| 124 | } | 123 | } |
