diff --git a/client/src/proxmark3.c b/client/src/proxmark3.c index 0ebb35cd8..454a9d0a1 100644 --- a/client/src/proxmark3.c +++ b/client/src/proxmark3.c @@ -147,6 +147,7 @@ static void flush_history(void) { if (g_session.history_path) { write_history(g_session.history_path); free(g_session.history_path); + g_session.history_path = NULL; } }