diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-22 11:21:31 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-22 22:20:27 -0400 |
commit | 26c9e76f2202a20efbbcaad450f11ae2aa9ffb3f (patch) | |
tree | cdcab709224bf7ed0c75d015d5255bc0910a75b2 | |
parent | 210306677f63756af7fd5b7d4b7c79bacb7c7d52 (diff) | |
download | stasis-26c9e76f2202a20efbbcaad450f11ae2aa9ffb3f.tar.gz |
Frees config_input path after its consumed by ini_open
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |