Mercurial > repos > blastem
changeset 1587:ea687ca7d845
Fix missing include in bindings.c
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 19 Jun 2018 23:47:36 -0700 |
parents | 5453aafa0656 |
children | 348814d5b73f |
files | bindings.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bindings.c Mon Jun 18 00:50:29 2018 -0700 +++ b/bindings.c Tue Jun 19 23:47:36 2018 -0700 @@ -1,3 +1,4 @@ +#include <string.h> #include "render.h" #include "system.h" #include "io.h" @@ -971,6 +972,7 @@ 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;