Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ondřej Surý
BIRD Internet Routing Daemon
Commits
72b81792
Commit
72b81792
authored
Aug 15, 2011
by
Ondřej Zajíček
Browse files
A minor fix in BSD.
parent
a3772b52
Changes
1
Hide whitespace changes
Inline
Side-by-side
sysdep/bsd/krt-sock.c
View file @
72b81792
...
...
@@ -698,8 +698,10 @@ krt_set_construct(struct krt_config *c UNUSED)
void
krt_set_shutdown
(
struct
krt_proto
*
x
UNUSED
,
int
last
UNUSED
)
{
if
(
krt_buffer
)
mb_free
(
krt_buffer
);
if
(
!
krt_buffer
)
return
;
mb_free
(
krt_buffer
);
krt_buffer
=
NULL
;
}
...
...
@@ -721,6 +723,9 @@ krt_if_start(struct kif_proto *p UNUSED)
void
krt_if_shutdown
(
struct
kif_proto
*
p
UNUSED
)
{
if
(
!
kif_buffer
)
return
;
mb_free
(
kif_buffer
);
kif_buffer
=
NULL
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment