mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Set history_path = NULL after free, hope it will fix history with spurious filenames
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user