summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings.c b/bindings.c
index 4e89715..ca6f002 100644
--- a/bindings.c
+++ b/bindings.c
@@ -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;