summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-09-26 16:10:10 -0400
committerDrew DeVault <sir@cmpwn.com>2020-09-26 16:10:10 -0400
commit50d21c03f5b02254d8eb0953bd5e635813cfe1c1 (patch)
tree9a6ca3851fdf22c68a5e14eecb0052c83409ff1a /src/config.c
parente9641dbf1ec871d8ab367b4f4655278caeecf621 (diff)
downloadgmnisrv-50d21c03f5b02254d8eb0953bd5e635813cfe1c1.tar.gz
gmnisrv-50d21c03f5b02254d8eb0953bd5e635813cfe1c1.tar.xz
gmnisrv-50d21c03f5b02254d8eb0953bd5e635813cfe1c1.zip
Free up resources throughout
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index f146aa0..367094f 100644
--- a/src/config.c
+++ b/src/config.c
@@ -236,6 +236,7 @@ config_finish(struct gmnisrv_config *conf)
struct gmnisrv_host *next = host->next;
free(host->hostname);
free(host->root);
+ free(host->index);
free(host);
host = next;
}