summaryrefslogtreecommitdiff
path: root/ext/mssql
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mssql')
-rw-r--r--ext/mssql/php_mssql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index 47f2ef1e44..68cd61fe4d 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -1917,7 +1917,7 @@ PHP_FUNCTION(mssql_bind)
/* hashtable of binds */
if (! statement->binds) {
- statement->binds = emalloc(sizeof(HashTable));
+ ALLOC_HASHTABLE(statement->binds);
zend_hash_init(statement->binds, 13, NULL, _mssql_bind_hash_dtor, 0);
}