]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
ADD: Added @marshmellow42 's new ST (sequence terminator detection)
[proxmark3-svn] / client / proxmark3.c
index 70e09adacc15aba8534debd9f1443cbb45475442..c2e70acfd0b3c77344e5099eae22a9b0043b592e 100644 (file)
@@ -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) {
Impressum, Datenschutz