diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-12 11:01:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-12 13:21:43 +0000 |
| commit | 99db7aa7cfe55c2485c31e9f0fefd459fc1c09f2 (patch) | |
| tree | 1ec614623937cde3fa115e7916577bc329349ee3 /main.c | |
| parent | config: simplify lookup of foot.ini (diff) | |
config: config_free(): pass conf struct by pointer, not by-value
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -485,12 +485,12 @@ main(int argc, char *const *argv) tll_free(overrides); if (!conf_successful) { - config_free(conf); + config_free(&conf); return ret; } if (check_config) { - config_free(conf); + config_free(&conf); return EXIT_SUCCESS; } @@ -663,7 +663,7 @@ out: fdm_signal_del(fdm, SIGINT); fdm_destroy(fdm); - config_free(conf); + config_free(&conf); if (unlink_pid_file) unlink(pid_file); |
