aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 11:21:31 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 22:20:27 -0400
commit26c9e76f2202a20efbbcaad450f11ae2aa9ffb3f (patch)
treecdcab709224bf7ed0c75d015d5255bc0910a75b2
parent210306677f63756af7fd5b7d4b7c79bacb7c7d52 (diff)
downloadstasis-26c9e76f2202a20efbbcaad450f11ae2aa9ffb3f.tar.gz
Frees config_input path after its consumed by ini_open
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 46500e6..d83412f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -291,6 +291,7 @@ int main(int argc, char *argv[], char *arge[]) {
msg(OMC_MSG_ERROR | OMC_MSG_L2, "Failed to read config file: %s, %s\n", delivery_input, strerror(errno));
exit(1);
}
+ guard_free(config_input);
}
msg(OMC_MSG_L2, "Reading OMC delivery configuration: %s\n", delivery_input);