diff --git a/sigtool/sigtool.c b/sigtool/sigtool.c index 8ea9178b0..db2d9ef2f 100644 --- a/sigtool/sigtool.c +++ b/sigtool/sigtool.c @@ -731,6 +731,7 @@ static int build(const struct optstruct *opts) return -1; } lspt->next->name = strdup("last.hdb"); + lspt->next->next = NULL; if(!lspt->next->name) { FREE_LS(dblist2); mprintf("!build: Memory allocation error\n");