mirror of
https://github.com/CPunch/Cosmo.git
synced 2026-01-03 14:10:44 +00:00
minor refactoring + non-zero int fixed
This commit is contained in:
@@ -40,7 +40,7 @@ void cosmoV_freeState(CState *state) {
|
||||
CObj *objs = state->objects;
|
||||
while (objs != NULL) {
|
||||
CObj *next = objs->next;
|
||||
cosmoO_freeObject(state, objs);
|
||||
cosmoO_free(state, objs);
|
||||
objs = next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user