mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 22:05:46 +00:00
Don't need zero_bytes() after ecalloc()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user