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
+1
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();