Author: ae
Date: Mon Apr 22 06:47:05 2013
New Revision: 249760
URL: http://svnweb.freebsd.org/changeset/base/249760

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

Modified:
  stable/9/sys/netinet6/in6_src.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet6/in6_src.c
==============================================================================
--- stable/9/sys/netinet6/in6_src.c     Mon Apr 22 06:30:29 2013        
(r249759)
+++ stable/9/sys/netinet6/in6_src.c     Mon Apr 22 06:47:05 2013        
(r249760)
@@ -1099,6 +1099,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-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to