diff --git a/client/proxmark3.c b/client/proxmark3.c index 70e09adac..c2e70acfd 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -167,11 +167,11 @@ static void *main_loop(void *targ) { if (ret == 99) break; } + free(cmd); } else { printf("\n"); break; } - free(cmd); } if (script_file) {