summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2020-08-22 16:12:12 +0000
committerkn <kn@openbsd.org>2020-08-22 16:12:12 +0000
commitf29902b1a50205cdbebf9f08766ff5f0e73520d9 (patch)
tree3eb4d1e6530cbb0d7e88d8acb9ed963a400a75bf /sys/netinet/in.h
parentThe last timeout_add(sc_timeout) died in the great XS_NO_CCB purge of 2017. Nuke (diff)
downloadwireguard-openbsd-f29902b1a50205cdbebf9f08766ff5f0e73520d9.tar.xz
wireguard-openbsd-f29902b1a50205cdbebf9f08766ff5f0e73520d9.zip
Add sizes to free() calls
Simply reuse struct size or buffer length variables for free() the very same way they are used with malloc(), often within the same scope and/or only a few lines above. This leaves only a few selected free() calls with size zero in due to the fact that there is currently no variable to keep track of name and secret string lengths. OK mvs
Diffstat (limited to 'sys/netinet/in.h')
0 files changed, 0 insertions, 0 deletions