Module Name: src
Committed By: rillig
Date: Sun Nov 29 00:42:01 UTC 2020
Modified Files:
src/usr.bin/make: main.c
Log Message:
make(1): fix main_CleanUp in -DCLEANUP mode (broken since 1 hour)
Broken since main.c 1.486 from 2020-11-28, about 1 hour ago.
To generate a diff of this commit:
cvs rdiff -u -r1.488 -r1.489 src/usr.bin/make/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/main.c
diff -u src/usr.bin/make/main.c:1.488 src/usr.bin/make/main.c:1.489
--- src/usr.bin/make/main.c:1.488 Sun Nov 29 00:04:22 2020
+++ src/usr.bin/make/main.c Sun Nov 29 00:42:01 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.488 2020/11/29 00:04:22 rillig Exp $ */
+/* $NetBSD: main.c,v 1.489 2020/11/29 00:42:01 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -109,7 +109,7 @@
#include "trace.h"
/* "@(#)main.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: main.c,v 1.488 2020/11/29 00:04:22 rillig Exp $");
+MAKE_RCSID("$NetBSD: main.c,v 1.489 2020/11/29 00:42:01 rillig Exp $");
#if defined(MAKE_NATIVE) && !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
"The Regents of the University of California. "
@@ -1627,7 +1627,7 @@ main_CleanUp(void)
* used in GNodes.
*/
Lst_Done(&opts.makefiles);
- Lst_Destroy(&opts.create, free);
+ Lst_DoneCall(&opts.create, free);
#endif
/* print the graph now it's been processed if the user requested it */