From c62254a686dcd40e3b6e5753d0c7c0308209a7b6 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 30 Aug 2020 09:25:47 +0200
Subject: [PATCH] cgi_show_status: Don't leak memory when no action files are
 specified

Sponsored by: Robert Klemme
---
 cgisimple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cgisimple.c b/cgisimple.c
index a8fd8268..d7c6ccd6 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1353,6 +1353,7 @@ jb_err cgi_show_status(struct client_state *csp,
    else
    {
       if (!err) err = map(exports, "actions-filenames", 1, "<tr><td>None specified</td></tr>", 1);
+      freez(s);
    }
 
    /*
-- 
2.50.1