Fixes crash on BSD.
This commit is contained in:
parent
4160a9dd94
commit
14272097df
1 changed files with 2 additions and 1 deletions
|
@ -697,7 +697,8 @@ krt_set_construct(struct krt_config *c UNUSED)
|
||||||
void
|
void
|
||||||
krt_set_shutdown(struct krt_proto *x UNUSED, int last UNUSED)
|
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;
|
krt_buffer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue