diff options
author | Andi Gutmans <andi@php.net> | 2001-06-19 16:03:35 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-06-19 16:03:35 +0000 |
commit | c977f298626e98aefcbdd77d04f1cba58d4d6590 (patch) | |
tree | b16e135dce4798e0bcc934d52d7921ecf1308c9d /ext/mssql | |
parent | e4f109b69fd2b5976d018f1064a772e34352de91 (diff) | |
download | php-git-c977f298626e98aefcbdd77d04f1cba58d4d6590.tar.gz |
- Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable))
Diffstat (limited to 'ext/mssql')
-rw-r--r-- | ext/mssql/php_mssql.c | 2 |
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); } |