summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index da962b4..eace2d0 100644
--- a/main.c
+++ b/main.c
@@ -19,6 +19,7 @@
#include "server.h"
#include "cfgdir.h"
#include "announce.h"
+#include "systemd.h"
int debuglvl = 0;
@@ -62,6 +63,7 @@ cfg_free(struct uring_task *task)
struct cfg *cfg = container_of(task, struct cfg, task);
fprintf(stderr, "%s: called\n", __func__);
+ systemd_delete(cfg);
free(cfg);
fprintf(stderr, "All resources free, exiting\n");
exiting = true;