Ensure null nobj pointer when object is extracted from list
This commit is contained in:
@@ -1812,6 +1812,7 @@ struct obj *obj, **head_ptr;
|
||||
if (!curr)
|
||||
panic("extract_nobj: object lost");
|
||||
obj->where = OBJ_FREE;
|
||||
obj->nobj = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user