From 8260657d2893db90e63dbb42f1660b27fc19e929 Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 23 Jan 2015 18:52:31 +0000 Subject: [PATCH] delete some code that doesn't (and shouldn't) run. ok deraadt millert --- usr.sbin/cron/user.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr.sbin/cron/user.c b/usr.sbin/cron/user.c index 96995a89aac..87fde990b46 100644 --- a/usr.sbin/cron/user.c +++ b/usr.sbin/cron/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.11 2015/01/23 02:37:25 tedu Exp $ */ +/* $OpenBSD: user.c,v 1.12 2015/01/23 18:52:31 tedu Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved @@ -78,10 +78,6 @@ load_user(int crontab_fd, struct passwd *pw, const char *name) { */ while ((status = load_env(envstr, file)) >= 0) { switch (status) { - case -1: - free_user(u); - u = NULL; - goto done; case FALSE: e = load_entry(file, NULL, pw, envp); if (e) { -- 2.20.1