Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 15:45:20 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316150 - head/usr.sbin/makefs
Message-ID:  <201703291545.v2TFjKaC046428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Mar 29 15:45:19 2017
New Revision: 316150
URL: https://svnweb.freebsd.org/changeset/base/316150

Log:
  makefs: free specfile structure once it has been applied
  
  NetBSD revs:
  walk.c		1.21
  
  Obtained from:	NetBSD
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.sbin/makefs/walk.c

Modified: head/usr.sbin/makefs/walk.c
==============================================================================
--- head/usr.sbin/makefs/walk.c	Wed Mar 29 15:45:04 2017	(r316149)
+++ head/usr.sbin/makefs/walk.c	Wed Mar 29 15:45:19 2017	(r316150)
@@ -333,6 +333,7 @@ apply_specfile(const char *specfile, con
 				/* merge in the changes */
 	apply_specdir(dir, root, parent, speconly);
 
+	free_nodes(root);
 }
 
 static void



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