summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-08-25 20:05:31 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-08-25 20:05:31 +0000
commit11ab7109f32f164acce7a8d2525679e2683a5ffa (patch)
treec045c1b94daa05b0c78bd7653dbb97306e1fc1db /sbin/ifconfig/ifconfig.c
parent59f49a090ab394972ab4063c4e260b0ee27faeb3 (diff)
missing free, Igor Zinovik <zinovik@cs.karelia.ru>
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 9ed9d00dc7e..44cd952f52a 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.185 2007/07/31 06:37:48 pyr Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.186 2007/08/25 20:05:30 henning Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -3865,6 +3865,8 @@ getifgroups(void)
}
if (cnt)
printf("\n");
+
+ free(ifgr.ifgr_groups);
}
#ifdef INET6