makefs: free specfile structure once it has been applied

NetBSD revs:
walk.c		1.21

Obtained from:	NetBSD
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
emaste 2017-03-29 15:45:19 +00:00
parent 26ab0a7dd5
commit eac687108f

View File

@ -333,6 +333,7 @@ apply_specfile(const char *specfile, const char *dir, fsnode *parent, int specon
/* merge in the changes */
apply_specdir(dir, root, parent, speconly);
free_nodes(root);
}
static void