diff options
author | cflip <cflip@cflip.net> | 2023-01-12 16:35:44 -0700 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2023-01-12 16:35:50 -0700 |
commit | 0d69f89e6bedb5ef675610d1025eaf8b46bd3422 (patch) | |
tree | 2acc5f9e3325db387ce7c0093c2ec199225a285a /editor.h | |
parent | 7964e549ff3889455ce1d1a87b47ab1b0adb722c (diff) |
Clean up editor_state's memory on teardown
Diffstat (limited to 'editor.h')
-rw-r--r-- | editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,4 +46,6 @@ void editor_draw_rows(struct editor_state* editor, struct append_buffer* buffer) void editor_draw_status_bar(struct editor_state* editor, struct append_buffer* buffer); void editor_draw_message_bar(struct editor_state* editor, struct append_buffer* buffer); +void editor_destroy(struct editor_state *editor); + #endif |