aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeitansage
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2021-01-25 15:16:29 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2021-03-07 10:38:38 +0100
commit8c0a25f3b0f5ab264333c25ca30145e5f49dcb4f (patch)
treedc9f983c6c30f6ce8b2df218fb610a18da00857d /src/zeitansage
parent22cb70fb1b2c628383c122aafcfdccd3070f269a (diff)
Added special strdup to liboptions, to prevent memory leaks for option strings
If you are doing memory leak debugging you don't want to see any leaks when stopping the program.
Diffstat (limited to 'src/zeitansage')
-rw-r--r--src/zeitansage/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zeitansage/main.c b/src/zeitansage/main.c
index 33ef71a..8ef154c 100644
--- a/src/zeitansage/main.c
+++ b/src/zeitansage/main.c
@@ -100,6 +100,8 @@ int main(int argc, char *argv[])
zeit_exit();
fm_exit();
+ options_free();
+
return 0;
}