forked from mirrors/kore
Make sure certkey and certfile are NULL after freeing.
From oneswig but I accidentally removed it during the merge.
This commit is contained in:
parent
d0e9441b60
commit
3b1204d599
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user