aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c2f7b64..aea80c8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -114,6 +114,8 @@ int main(int argc, char *argv[])
if(best_command >= 0)
commands[best_command].handler(player);
+ free(cmdbuf);
+
printf("\n");
}
}