artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea1758
)
fix mem leak: missing freeifaddrs
author
florian
<florian@openbsd.org>
Fri, 20 Jul 2018 20:33:29 +0000
(20:33 +0000)
committer
florian
<florian@openbsd.org>
Fri, 20 Jul 2018 20:33:29 +0000
(20:33 +0000)
usr.sbin/rad/frontend.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rad/frontend.c
b/usr.sbin/rad/frontend.c
index
d44701d
..
afa4fb1
100644
(file)
--- a/
usr.sbin/rad/frontend.c
+++ b/
usr.sbin/rad/frontend.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: frontend.c,v 1.1
2 2018/07/20 17:55:09 bket Exp $
*/
+/* $OpenBSD: frontend.c,v 1.1
3 2018/07/20 20:33:29 florian Exp $
*/
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@
-838,8
+838,8
@@
get_interface_prefixes(struct ra_iface *ra_iface, struct ra_prefix_conf
add_new_prefix_to_ra_iface(ra_iface, &sin6->sin6_addr,
prefixlen, autoprefix);
-
}
+ freeifaddrs(ifap);
}
struct ra_prefix_conf*