diff options
author | Thies C. Arntzen <thies@php.net> | 2001-03-27 14:55:04 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-03-27 14:55:04 +0000 |
commit | 679d841502ada01b45ab9649c11c9530041c632c (patch) | |
tree | c85cc2ceeb2175d69a484b46b9b73412c69263c1 /ext/oracle | |
parent | 0d7729ed58abf84184267eb5ce281befb3e39c09 (diff) | |
download | php-git-679d841502ada01b45ab9649c11c9530041c632c.tar.gz |
fixed newly introduced crash in ora_bind
Diffstat (limited to 'ext/oracle')
-rw-r--r-- | ext/oracle/oracle.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 6ae2bafecd..3e37fc7a22 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -1710,7 +1710,6 @@ int ora_set_param_values(oraCursor *cursor, int isout) if (zend_hash_find(&EG(symbol_table), paramname, strlen(paramname) + 1, (void **)&pdata) == FAILURE){ php_error(E_WARNING, "Can't find variable for parameter"); - efree(paramname); return 0; } @@ -1725,8 +1724,6 @@ int ora_set_param_values(oraCursor *cursor, int isout) strncpy(param->progv, (*pdata)->value.str.val, len); param->progv[len] = '\0'; - - efree(paramname); } return 1; |