Don't need zero_bytes() after ecalloc()

This commit is contained in:
Todd C. Miller
2012-03-30 14:59:27 -04:00
parent 9ceea5cb7b
commit 7e6d00ed12

View File

@@ -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;