Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 07:59:54 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249398 - head/sys/netinet6
Message-ID:  <201304120759.r3C7xsBU013869@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304120759.r3C7xsBU013869>