Author: ae
Date: Fri Apr 12 07:59:54 2013
New Revision: 249398
URL: http://svnweb.freebsd.org/changeset/base/249398

Log:
  Free memory after deleting an address policy entry.
  
  MFC after:    1 week

Modified:
  head/sys/netinet6/in6_src.c

Modified: head/sys/netinet6/in6_src.c
==============================================================================
--- head/sys/netinet6/in6_src.c Fri Apr 12 02:01:17 2013        (r249397)
+++ head/sys/netinet6/in6_src.c Fri Apr 12 07:59:54 2013        (r249398)
@@ -1100,6 +1100,7 @@ delete_addrsel_policyent(struct in6_addr
        TAILQ_REMOVE(&V_addrsel_policytab, pol, ape_entry);
        ADDRSEL_UNLOCK();
        ADDRSEL_XUNLOCK();
+       free(pol, M_IFADDR);
 
        return (0);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to