summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-08-23 21:45:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-08-23 21:45:04 +0000
commita9391e5dd91ed2bf43e5cd04822f3cc33b4d47bd (patch)
treef40285ecc355f6e8657260875f760a22b1253728
parentad68fd452f09bb415dd7ee8cb4c19bf281cf2224 (diff)
Remove an errant ';' that caused a duplicate free(). Fix from my sudo
devel tree after prompting from Angelos who noticed this.
-rw-r--r--usr.bin/sudo/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/logging.c b/usr.bin/sudo/logging.c
index 327860bea0f..41873a28f24 100644
--- a/usr.bin/sudo/logging.c
+++ b/usr.bin/sudo/logging.c
@@ -386,7 +386,7 @@ log_error(va_alist)
do_logfile(logline);
free(logline);
- if (message != logline);
+ if (message != logline)
free(message);
if (!(flags & NO_EXIT))