From c977f298626e98aefcbdd77d04f1cba58d4d6590 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 19 Jun 2001 16:03:35 +0000 Subject: - Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable)) --- ext/mssql/php_mssql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mssql/php_mssql.c') 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); } -- cgit v1.2.1