Skip to content
Snippets Groups Projects
Commit 14272097 authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Fixes crash on BSD.

parent 4160a9dd
Branches
Tags
No related merge requests found
......@@ -697,7 +697,8 @@ krt_set_construct(struct krt_config *c UNUSED)
void
krt_set_shutdown(struct krt_proto *x UNUSED, int last UNUSED)
{
mb_free(krt_buffer);
if (krt_buffer)
mb_free(krt_buffer);
krt_buffer = NULL;
}
......
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