Index: sbin/ifconfig/ifgroup.c =================================================================== --- sbin/ifconfig/ifgroup.c +++ sbin/ifconfig/ifgroup.c @@ -86,9 +86,6 @@ struct ifgroupreq ifgr; struct ifg_req *ifg; - if (!verbose) - return; - memset(&ifgr, 0, sizeof(ifgr)); strlcpy(ifgr.ifgr_name, name, IFNAMSIZ); @@ -121,6 +118,8 @@ } if (cnt) printf("\n"); + + free(ifgr.ifgr_groups); } static void