- Fix copy&paste problem where we allocated according to an old structure

- decleration and not the new one.
This commit is contained in:
Andi Gutmans 2002-06-15 08:47:11 +00:00
parent bdc88cd7b6
commit e8fe69884f
2 changed files with 1 additions and 22 deletions

View file

@ -8,7 +8,7 @@
void zend_objects_store_init(zend_objects_store *objects, zend_uint init_size)
{
objects->object_buckets = (zend_object_store_bucket *) emalloc(init_size * sizeof(zend_object_bucket));
objects->object_buckets = (zend_object_store_bucket *) emalloc(init_size * sizeof(zend_object_store_bucket));
objects->top = 1; /* Skip 0 so that handles are true */
objects->size = init_size;
objects->free_list_head = -1;