From bc985de45f7fd9959503144270b37dd0c836c0b5 Mon Sep 17 00:00:00 2001 From: Barbara Kaczorowska Date: Fri, 25 Sep 2020 12:50:13 +0000 Subject: [PATCH] Fix memory leak in configfile.c --- src/daemon/configfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daemon/configfile.c b/src/daemon/configfile.c index 4d40a7784..048d17089 100644 --- a/src/daemon/configfile.c +++ b/src/daemon/configfile.c @@ -791,6 +791,7 @@ static oconfig_item_t *cf_read_generic(const char *path, const char *pattern, if (temp == NULL) { oconfig_free(root); + wordfree(&we); return NULL; } -- 2.47.2