From 7e6d00ed125f44faf61b7a68718a902442a8f6f4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 30 Mar 2012 14:59:27 -0400 Subject: [PATCH] Don't need zero_bytes() after ecalloc() --- src/exec_pty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/exec_pty.c b/src/exec_pty.c index f4a4804e6..93cc9b0d2 100644 --- a/src/exec_pty.c +++ b/src/exec_pty.c @@ -406,7 +406,6 @@ io_buf_new(int rfd, int wfd, bool (*action)(const char *, unsigned int), debug_decl(io_buf_new, SUDO_DEBUG_EXEC); iob = ecalloc(1, sizeof(*iob)); - zero_bytes(iob, sizeof(*iob)); iob->rfd = rfd; iob->wfd = wfd; iob->action = action; -- 2.50.1