diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 20:18:35 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 20:18:35 +0530 |
commit | 0cd55a7b37edf098c6b6ffdb551cfb80629e3c79 (patch) | |
tree | 3ec939a9e27797ad6453599dac252881811649cb /src/msg.c | |
parent | 8e6dad06fe4c0bb83f44ff016c3814b9c89f385b (diff) |
template: add template_initialize() and template_clean()
Diffstat (limited to 'src/msg.c')
-rw-r--r-- | src/msg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -128,6 +128,7 @@ run(void) if (config == NULL) return EXIT_FAILURE; + template_initialize(); base_template = template_create(BASE_TEMPLATE); int err = mkdir(msg->output_directory, 0700); @@ -178,6 +179,7 @@ run(void) } template_delete(base_template); + template_clean(); config_delete(config); return EXIT_SUCCESS; |