mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 05:17:54 +00:00
Fix potential memory leak on reallocarray() error. Coverity CID 169639
This commit is contained in:
parent
b2770313c6
commit
20a0fa1284
@ -103,6 +103,7 @@ sudo_ev_add_impl(struct sudo_event_base *base, struct sudo_event *ev)
|
||||
free(rfds_in);
|
||||
free(wfds_in);
|
||||
free(rfds_out);
|
||||
free(wfds_out);
|
||||
debug_return_int(-1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user