diff options
author | Thies C. Arntzen <thies@php.net> | 2001-07-09 06:48:15 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-07-09 06:48:15 +0000 |
commit | 1e3553bd428f18eefbc4571428317fc69721500e (patch) | |
tree | b489ee6ebf69e37a3bf3183786f6ebaee1db30bb | |
parent | 28efce40198e574f2c8814b6092fc2995ae589bf (diff) | |
download | php-git-1e3553bd428f18eefbc4571428317fc69721500e.tar.gz |
use erealloc for zvals!
-rw-r--r-- | ext/oci8/oci8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index ccacdb0646..9fb27cf575 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -650,7 +650,7 @@ _oci_bind_post_exec(void *data) zval_dtor(val); ZVAL_NULL(val); } else if (bind->zval->type == IS_STRING) { - bind->zval->value.str.val = realloc(bind->zval->value.str.val, bind->zval->value.str.len+1); + bind->zval->value.str.val = erealloc(bind->zval->value.str.val, bind->zval->value.str.len+1); bind->zval->value.str.val[ bind->zval->value.str.len ] = '\0'; } |