Ensure null nobj pointer when object is extracted from list

This commit is contained in:
Pasi Kallinen
2015-10-11 19:03:01 +03:00
parent 16018ac824
commit c318f627a4

View File

@@ -1812,6 +1812,7 @@ struct obj *obj, **head_ptr;
if (!curr)
panic("extract_nobj: object lost");
obj->where = OBJ_FREE;
obj->nobj = NULL;
}
/*