From owner-svn-src-all@FreeBSD.ORG Fri Apr 12 07:59:55 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 495FF99A; Fri, 12 Apr 2013 07:59:55 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5D31562; Fri, 12 Apr 2013 07:59:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3C7xsJP013871; Fri, 12 Apr 2013 07:59:54 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3C7xsBU013869; Fri, 12 Apr 2013 07:59:54 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201304120759.r3C7xsBU013869@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Fri, 12 Apr 2013 07:59:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249398 - head/sys/netinet6 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 07:59:55 -0000 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); }