diff --git a/src/nnn.c b/src/nnn.c index 4fadf59d..43b36321 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -8016,6 +8016,7 @@ static void cleanup(void) free(ihashbmp); free(bookmark); free(plug); + free(lastcmd); #ifndef NOFIFO if (g_state.autofifo) unlink(fifopath);