diff options
| author | jvoisin | 2022-07-13 21:33:30 +0200 |
|---|---|---|
| committer | jvoisin | 2022-07-13 21:33:30 +0200 |
| commit | c235a9df483e556bead06a36a3b1af931262b059 (patch) | |
| tree | e9616aaaf8b6bf19ae78d70610a56c6c236392e3 /src/sp_crypt.c | |
| parent | ed87e551efd0160f1944a5e97158ab258db65eaf (diff) | |
Remove some useless conditions
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 | } |
