From 29a7a254456fdc8a193b7484bc05cb9d3acc6081 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 18 Jul 2021 02:51:09 +0530 Subject: [PATCH] Free allocated memory --- src/nnn.c | 1 + 1 file changed, 1 insertion(+) 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);