Job_AbortAll(): add missing Lst_Close().
This commit is contained in:
parent
27df1070c7
commit
e84cfe875b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: job.c,v 1.62 2002/03/13 17:46:03 pk Exp $ */
|
||||
/* $NetBSD: job.c,v 1.63 2002/03/14 08:07:55 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -39,14 +39,14 @@
|
||||
*/
|
||||
|
||||
#ifdef MAKE_BOOTSTRAP
|
||||
static char rcsid[] = "$NetBSD: job.c,v 1.62 2002/03/13 17:46:03 pk Exp $";
|
||||
static char rcsid[] = "$NetBSD: job.c,v 1.63 2002/03/14 08:07:55 pk Exp $";
|
||||
#else
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: job.c,v 1.62 2002/03/13 17:46:03 pk Exp $");
|
||||
__RCSID("$NetBSD: job.c,v 1.63 2002/03/14 08:07:55 pk Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
@ -3117,9 +3117,9 @@ Job_Wait()
|
||||
void
|
||||
Job_AbortAll()
|
||||
{
|
||||
LstNode ln; /* element in job table */
|
||||
Job *job; /* the job descriptor in that element */
|
||||
int foo;
|
||||
LstNode ln; /* element in job table */
|
||||
Job *job; /* the job descriptor in that element */
|
||||
int foo;
|
||||
|
||||
aborting = ABORT_ERROR;
|
||||
|
||||
@ -3146,6 +3146,7 @@ Job_AbortAll()
|
||||
KILL(job->pid, SIGKILL);
|
||||
#endif /* RMT_WANTS_SIGNALS */
|
||||
}
|
||||
Lst_Close(jobs);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user