diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/irecovery.c | 1 |
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(); |