diff options
Diffstat (limited to 'ext/pfpro')
| -rw-r--r-- | ext/pfpro/pfpro.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/pfpro/pfpro.c b/ext/pfpro/pfpro.c index e68e24097b..491e000baa 100644 --- a/ext/pfpro/pfpro.c +++ b/ext/pfpro/pfpro.c @@ -409,7 +409,7 @@ PHP_FUNCTION(pfpro_process) parmlength += 1; } - switch (zend_hash_get_current_key(target_hash, &string_key, &num_key)) { + switch (zend_hash_get_current_key(target_hash, &string_key, &num_key, 0)) { case HASH_KEY_IS_STRING: @@ -417,8 +417,6 @@ PHP_FUNCTION(pfpro_process) strcpy(parmlist + parmlength, string_key); parmlength += strlen(string_key); - efree(string_key); - break; case HASH_KEY_IS_LONG: |
