commit 3b1204d5998bc4705dda6db787b11ee2a8254621
parent d0e9441b60cb8666303be4a806e017fd7b3282d4
Author: Joris Vink <joris@coders.se>
Date: Mon, 1 Feb 2016 21:42:33 +0100
Make sure certkey and certfile are NULL after freeing.
From oneswig but I accidentally removed it during the merge.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/domain.c b/src/domain.c
@@ -231,6 +231,8 @@ kore_domain_sslstart(struct kore_domain *dom)
kore_mem_free(dom->certfile);
kore_mem_free(dom->certkey);
+ dom->certfile = NULL;
+ dom->certkey = NULL;
#endif
}