Fix a memory leak in if_delgroups() introduced in r334118.

PR:		242712
Submitted by:	ghuckriede@blackberry.com
MFC after:	3 days
This commit is contained in:
Mark Johnston 2019-12-20 17:21:57 +00:00
parent eee7706389
commit 718ef55ec7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355938

View File

@ -1597,6 +1597,7 @@ if_delgroups(struct ifnet *ifp)
ifgl->ifgl_group);
free(ifgl->ifgl_group, M_TEMP);
}
free(ifgl, M_TEMP);
EVENTHANDLER_INVOKE(group_change_event, groupname);
IFNET_WLOCK();