Author: markj Date: Fri Dec 20 17:21:57 2019 New Revision: 355938 URL: https://svnweb.freebsd.org/changeset/base/355938
Log: Fix a memory leak in if_delgroups() introduced in r334118. PR: 242712 Submitted by: ghuckri...@blackberry.com MFC after: 3 days Modified: head/sys/net/if.c Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Fri Dec 20 17:15:09 2019 (r355937) +++ head/sys/net/if.c Fri Dec 20 17:21:57 2019 (r355938) @@ -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(); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"