Fixes a double-free issue in CloseProxmark: (#617)
[proxmark3-svn] / client / proxmark3.c
index 40c466130f03f645f2e69d6d76f4000b2c688346..6fb066e8a5dbdaf5e4b7c8bbda22eafd6f6c27b5 100644 (file)
@@ -131,10 +131,6 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
        }
 
        write_history(".history");
-
-       if (usb_present) {
-               CloseProxmark();
-       }
        
        if (script_file) {
                fclose(script_file);
Impressum, Datenschutz