summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-01-11 18:29:43 +0000
committermarkus <markus@openbsd.org>2003-01-11 18:29:43 +0000
commitfd9434d84c6f88b51f268abf6fa306f3539d078b (patch)
treebcc7c984845780557bc8921998cb047d06ae78d9
parento specifying host on the command line implies the -a flag (diff)
downloadwireguard-openbsd-fd9434d84c6f88b51f268abf6fa306f3539d078b.tar.xz
wireguard-openbsd-fd9434d84c6f88b51f268abf6fa306f3539d078b.zip
set fatal_cleanups to NULL in fatal_remove_all_cleanups(); dtucker@zip.com.au
-rw-r--r--usr.bin/ssh/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/log.c b/usr.bin/ssh/log.c
index 7ed802c120c..f019db120c7 100644
--- a/usr.bin/ssh/log.c
+++ b/usr.bin/ssh/log.c
@@ -34,7 +34,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: log.c,v 1.24 2002/07/19 15:43:33 markus Exp $");
+RCSID("$OpenBSD: log.c,v 1.25 2003/01/11 18:29:43 markus Exp $");
#include "log.h"
#include "xmalloc.h"
@@ -230,6 +230,7 @@ fatal_remove_all_cleanups(void)
next_cu = cu->next;
xfree(cu);
}
+ fatal_cleanups = NULL;
}
/* Cleanup and exit */