diff --git a/usr.sbin/makefs/walk.c b/usr.sbin/makefs/walk.c index 693c92e18b0a..c3962bfb6a51 100644 --- a/usr.sbin/makefs/walk.c +++ b/usr.sbin/makefs/walk.c @@ -1,4 +1,4 @@ -/* $NetBSD: walk.c,v 1.20 2006/10/10 01:39:10 dbj Exp $ */ +/* $NetBSD: walk.c,v 1.21 2006/10/10 01:41:14 dbj Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -41,7 +41,7 @@ #include #if defined(__RCSID) && !defined(__lint) -__RCSID("$NetBSD: walk.c,v 1.20 2006/10/10 01:39:10 dbj Exp $"); +__RCSID("$NetBSD: walk.c,v 1.21 2006/10/10 01:41:14 dbj Exp $"); #endif /* !__lint */ #include @@ -210,6 +210,8 @@ apply_specfile(const char *specfile, const char *dir, fsnode *parent) /* merge in the changes */ apply_specdir(dir, root, parent); + + free_nodes(root); } static void