summaryrefslogtreecommitdiffstats
path: root/src/irecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irecovery.c')
-rw-r--r--src/irecovery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irecovery.c b/src/irecovery.c
index 13d8be1..e9ecdea 100644
--- a/src/irecovery.c
+++ b/src/irecovery.c
@@ -46,6 +46,7 @@ void init_shell(irecv_device* device) {
char* arg = strtok(0, " ");
if(cmd[1] == 'q') {
+ free(cmd);
break;
} else if(cmd[1] == 'h') {
print_shell_usage();