vm: cache: all allocations are now zero-initialised
This commit is contained in:
@@ -50,8 +50,6 @@ struct object *object_create(struct object_type *type)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
memset(obj_buf, 0x00, type->ob_size);
|
||||
|
||||
struct object *obj = (struct object *)((unsigned char *)obj_buf
|
||||
+ type->ob_header_offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user