diff options
Diffstat (limited to 'usr.bin/make/lst.lib/lstConcat.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstConcat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/lst.lib/lstConcat.c b/usr.bin/make/lst.lib/lstConcat.c index a997fcb..e6bf54a 100644 --- a/usr.bin/make/lst.lib/lstConcat.c +++ b/usr.bin/make/lst.lib/lstConcat.c @@ -96,6 +96,7 @@ Lst_Concat(Lst *list1, Lst *list2, int flags) list1->firstPtr = list2->firstPtr; list1->lastPtr = list2->lastPtr; + Lst_Init(list2); } else { /* * The loop simply goes through the entire |