mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
chg: seems to be a free bug on macos
This commit is contained in:
parent
d774e4c84f
commit
be57354478
1 changed files with 4 additions and 5 deletions
|
@ -186,9 +186,10 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
|
||||||
|
|
||||||
write_history(".history");
|
write_history(".history");
|
||||||
|
|
||||||
free(cmd);
|
if (cmd) {
|
||||||
cmd = NULL;
|
free(cmd);
|
||||||
|
cmd = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dumpAllHelp(int markdown) {
|
static void dumpAllHelp(int markdown) {
|
||||||
|
@ -353,8 +354,6 @@ int main(int argc, char* argv[]) {
|
||||||
// try to open USB connection to Proxmark
|
// try to open USB connection to Proxmark
|
||||||
usb_present = OpenProxmark(argv[1], waitCOMPort, 20, false);
|
usb_present = OpenProxmark(argv[1], waitCOMPort, 20, false);
|
||||||
|
|
||||||
|
|
||||||
printf("\x1b[31m test\n");
|
|
||||||
#ifdef HAVE_GUI
|
#ifdef HAVE_GUI
|
||||||
|
|
||||||
# ifdef _WIN32
|
# ifdef _WIN32
|
||||||
|
|
Loading…
Add table
Reference in a new issue