Commit 89ff72be authored by Mark Andrews's avatar Mark Andrews
Browse files

clear *logp

parent ea8e149f
......@@ -209,12 +209,14 @@ cleanup_logging(isc_log_t **logp) {
REQUIRE(logp != NULL);
log = *logp;
*logp = NULL;
if (log == NULL)
return;
isc_log_destroy(&log);
isc_log_setcontext(NULL);
dns_log_setcontext(NULL);
logp = NULL;
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment