Set history_path = NULL after free, hope it will fix history with spurious filenames
This commit is contained in:
1 parent
f4487abed7
commit
30d71a60ff
1 file changed
+1
@@ -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