diff options
-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'; } |