From f4a4120b4f131ca1e68c3e5f354fb1ebce0e62f8 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 19 Jun 2018 23:47:36 -0700 Subject: Fix missing include in bindings.c --- bindings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bindings.c') diff --git a/bindings.c b/bindings.c index 4e89715..ca6f002 100644 --- a/bindings.c +++ b/bindings.c @@ -1,3 +1,4 @@ +#include #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; -- cgit v1.2.3