diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-06-19 23:47:36 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-06-19 23:47:36 -0700 |
commit | f4a4120b4f131ca1e68c3e5f354fb1ebce0e62f8 (patch) | |
tree | da94ee22e6f084bf367b83c3d25362f96d253712 | |
parent | 98a8b31e5b715ee9cb820a4175f2fe9a5011daa1 (diff) |
Fix missing include in bindings.c
-rw-r--r-- | bindings.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,4 @@ +#include <string.h> #include "render.h" #include "system.h" #include "io.h" @@ -971,6 +972,7 @@ void set_bindings(void) tern_node * keys = tern_find_path(config, "bindings\0keys\0", TVAL_NODE).ptrval; process_keys(keys, special, padbuttons, mousebuttons, NULL); + tern_free(special); memset(mice, 0, sizeof(mice)); tern_node * mice = tern_find_path(config, "bindings\0mice\0", TVAL_NODE).ptrval; |