mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Set history_path = NULL after free, hope it will fix history with spurious filenames
This commit is contained in:
parent
f4487abed7
commit
30d71a60ff
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue