mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
ifconfig(8): plug memory leak after r361790 by me.
MFC after: 3 days
This commit is contained in:
parent
654f53ab6a
commit
cf51899564
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364186
@ -748,6 +748,7 @@ group_member(const char *ifname, const char *match, const char *nomatch)
|
||||
if (nomatch)
|
||||
nomatched &= fnmatch(nomatch, ifg->ifgrq_group, 0);
|
||||
}
|
||||
free(ifgr.ifgr_groups);
|
||||
|
||||
if (match && !nomatch)
|
||||
return (matched);
|
||||
|
Loading…
Reference in New Issue
Block a user