Make sure certkey and certfile are NULL after freeing.

From oneswig but I accidentally removed it during the merge.
This commit is contained in:
Joris Vink 2016-02-01 21:42:33 +01:00
parent d0e9441b60
commit 3b1204d599

View File

@ -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
}