Finished memory management of multiple marios

This commit is contained in:
jaburns
2020-10-28 13:51:03 -06:00
parent 59ba053a70
commit 9daf010774
5 changed files with 110 additions and 36 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ void global_state_bind(struct GlobalState *state)
g_state = state;
}
void global_state_destroy(struct GlobalState *state)
void global_state_delete(struct GlobalState *state)
{
free( state );
}
+1 -1
View File
@@ -53,4 +53,4 @@ extern struct GlobalState *g_state;
extern struct GlobalState *global_state_create(void);
extern void global_state_bind(struct GlobalState *state);
extern void global_state_destroy(struct GlobalState *state);
extern void global_state_delete(struct GlobalState *state);