diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-08-23 21:45:04 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-08-23 21:45:04 +0000 |
commit | a9391e5dd91ed2bf43e5cd04822f3cc33b4d47bd (patch) | |
tree | f40285ecc355f6e8657260875f760a22b1253728 /usr.bin/sudo | |
parent | ad68fd452f09bb415dd7ee8cb4c19bf281cf2224 (diff) |
Remove an errant ';' that caused a duplicate free(). Fix from my sudo
devel tree after prompting from Angelos who noticed this.
Diffstat (limited to 'usr.bin/sudo')
-rw-r--r-- | usr.bin/sudo/logging.c | 2 |
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)) |