summaryrefslogtreecommitdiff
path: root/ext/oracle/oracle.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r--ext/oracle/oracle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c
index 2b0a22ae7f..ace254cb57 100644
--- a/ext/oracle/oracle.c
+++ b/ext/oracle/oracle.c
@@ -1225,8 +1225,7 @@ void php3_Ora_FetchInto(INTERNAL_FUNCTION_PARAMETERS)
} else {
#if PHP_API_VERSION >= 19990421
tmp = emalloc(sizeof(pval));
- tmp->EA = 0;
- tmp->refcount = 1;
+ INIT_PZVAL(tmp);
#endif
tmp->type = IS_STRING;