mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Fixes crash on BSD.
This commit is contained in:
parent
4160a9dd94
commit
14272097df
@ -697,6 +697,7 @@ 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)
|
||||||
{
|
{
|
||||||
|
if (krt_buffer)
|
||||||
mb_free(krt_buffer);
|
mb_free(krt_buffer);
|
||||||
krt_buffer = NULL;
|
krt_buffer = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user