From 6c7266c3383e574101833e8eb97b1a27f3adeb99 Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Wed, 1 Mar 2023 06:42:29 +0800 Subject: [PATCH] Coverity: fix session resource leak --- src/session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session.c b/src/session.c index a37bbc52..417255bb 100644 --- a/src/session.c +++ b/src/session.c @@ -371,6 +371,7 @@ static pid_t execCommand(WScreen *scr, char *command) wtokensplit(command, &argv, &argc); if (!argc) { + wfree(argv); return 0; } -- 2.11.4.GIT