From be91342733fd56d1e7bafe72e82a8ac4dc67b79d Mon Sep 17 00:00:00 2001 From: kasull Date: Tue, 3 Mar 2026 18:49:43 -0500 Subject: fix use after free --- src/editor/editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/editor/editor.h') diff --git a/src/editor/editor.h b/src/editor/editor.h index 2067df5..ad43705 100644 --- a/src/editor/editor.h +++ b/src/editor/editor.h @@ -128,6 +128,7 @@ extern STAT editor_load_map( GAME_EDITOR* e, const char* mapname ); extern STAT editor_save_map( GAME_EDITOR* e ); extern STAT editor_new_map( GAME_EDITOR* e, const char* mapname ); extern STAT editor_close( GAME_EDITOR* e ); +extern void editor_clear_gui_state_refs( GAME_EDITOR* e ); extern void editor_resize( GAME_EDITOR* e, I32 w, I32 h ); extern void editor_register_grid_dependency( GAME_EDITOR* e, void* tag, EDITOR_GRID_DEP_CALLBACK cb ); extern void editor_notify_grid_change( GAME_EDITOR* e ); -- cgit v1.2.3