diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-19 22:20:11 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-19 22:20:11 +0000 |
commit | 4dac4ae5d1ec7cb06746ba790bbee8180a280c16 (patch) | |
tree | 865b488637adc1e2961e910783ba40f04d714b3e /usr.sbin/rbootd | |
parent | f0cf3adcad5d0247891eddb49c1e8ab30f13e513 (diff) |
one missing freeifaddrs
Diffstat (limited to 'usr.sbin/rbootd')
-rw-r--r-- | usr.sbin/rbootd/bpf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rbootd/bpf.c b/usr.sbin/rbootd/bpf.c index 397a000c597..58cd9bfcfbc 100644 --- a/usr.sbin/rbootd/bpf.c +++ b/usr.sbin/rbootd/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.13 2003/08/19 22:19:07 itojun Exp $ */ +/* $OpenBSD: bpf.c,v 1.14 2003/08/19 22:20:10 itojun Exp $ */ /* $NetBSD: bpf.c,v 1.5.2.1 1995/11/14 08:45:42 thorpej Exp $ */ /* @@ -45,7 +45,7 @@ #ifndef lint /*static char sccsid[] = "@(#)bpf.c 8.1 (Berkeley) 6/4/93";*/ -static char rcsid[] = "$OpenBSD: bpf.c,v 1.13 2003/08/19 22:19:07 itojun Exp $"; +static char rcsid[] = "$OpenBSD: bpf.c,v 1.14 2003/08/19 22:20:10 itojun Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -259,6 +259,7 @@ BpfGetIntfName(char **errmsg) if (mp == 0) { (void) strlcpy(errbuf, "bpf: no interfaces found", sizeof(errbuf)); + freeifaddrs(ifap); return(NULL); } |