From 8f4c9e1ab7ab9a3ea88d09cf61e9b392d54d1008 Mon Sep 17 00:00:00 2001 From: gk Date: Thu, 7 Oct 2021 06:26:47 +1000 Subject: [PATCH] fix logic error --- kiwmi/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwmi/main.c b/kiwmi/main.c index 5330138..ebddca2 100644 --- a/kiwmi/main.c +++ b/kiwmi/main.c @@ -43,7 +43,7 @@ main(int argc, char **argv) exit(EXIT_SUCCESS); break; case 'c': - config_path = strdup(optarg); // gets freed in kiwmi_fini + config_path = strdup(optarg); // gets freed in server_fini if (!config_path) { fprintf(stderr, "Failed to allocate memory\n"); exit(EXIT_FAILURE);