summaryrefslogtreecommitdiff
path: root/ext/pfpro
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-12-22 12:57:09 +0000
committerZeev Suraski <zeev@php.net>2000-12-22 12:57:09 +0000
commitaa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47 (patch)
tree5776ae30d4c8115659935309042b9784ba55d592 /ext/pfpro
parent36eaad252fc5fe292cd4f071f76e7879ce21130c (diff)
downloadphp-git-aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47.tar.gz
Heads up people!
Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
Diffstat (limited to 'ext/pfpro')
-rw-r--r--ext/pfpro/pfpro.c4
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: