]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: Undo one of my fixes.. *sigh* need to be more specific when / where to call...
authoriceman1001 <iceman@iuse.se>
Thu, 18 Feb 2016 19:48:24 +0000 (20:48 +0100)
committericeman1001 <iceman@iuse.se>
Thu, 18 Feb 2016 19:48:24 +0000 (20:48 +0100)
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