diff options
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r-- | ext/oracle/oracle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 2bcaabb580..3ea87d3dc8 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -840,7 +840,7 @@ PHP_FUNCTION(ora_bind) convert_to_long_ex(plen); if (cursor->params == NULL) { - cursor->params = (HashTable *)emalloc(sizeof(HashTable)); + ALLOC_HASHTABLE(cursor->params); if (!cursor->params || zend_hash_init(cursor->params, 19, NULL, HASH_DTOR pval_ora_param_destructor, 0) == FAILURE) { |