diff options
author | 2016-03-07 22:49:45 +0000 | |
---|---|---|
committer | 2016-03-07 22:49:45 +0000 | |
commit | 187181395ab71a8ef7babf529d388ba021dd4015 (patch) | |
tree | c4d64f9a4eb04182f016db325483fe173c21c8c6 /lib/libc | |
parent | Use opendev() instead of a plain open(). (diff) | |
download | wireguard-openbsd-187181395ab71a8ef7babf529d388ba021dd4015.tar.xz wireguard-openbsd-187181395ab71a8ef7babf529d388ba021dd4015.zip |
eliminate do_malloc() and do_free().
These are wrappers for malloc(3) and free(3) with NULL checks. do_free()
is pointless since free() already checks for NULL. do_malloc() is used
only three times, once asprintf(3) seems more appropriate, and for just
two calls the benefit of a custom wrapper is minimal.
ok millert@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions