diff --git a/src/history.c b/src/history.c index 9af9a17771986bd332f5707b1e5ec0325f662c24..9c36d65e0de7f25750751922c2349248557d3aab 100644 --- a/src/history.c +++ b/src/history.c @@ -548,6 +548,7 @@ void update_poshistory(char *filename, ssize_t lineno, ssize_t xpos) posprev->next = posptr->next; free(posptr->filename); free(posptr); + save_poshistory(); } free(fullpath); return;