From: iceman1001 Date: Thu, 18 Feb 2016 19:48:24 +0000 (+0100) Subject: FIX: Undo one of my fixes.. *sigh* need to be more specific when / where to call... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/75cf8623d6cf8a4118e3da8e7f2ab33180f3629b?hp=c0bab227ad7a8248b2cc34c2de695e121bd0c429 FIX: Undo one of my fixes.. *sigh* need to be more specific when / where to call free. --- diff --git a/client/proxmark3.c b/client/proxmark3.c index 70e09ada..c2e70acf 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) {