diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-09-14 19:18:24 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-09-14 19:18:24 +0000 |
commit | 587e285e97a0baf6e0a46c7b5eb04a697320d87d (patch) | |
tree | a2563d29663f5d9cc906d3b3a01b2d617cc8337a /lib/libedit | |
parent | 314e8196ea0014cee4d3d40b9f60d9e90e6fcded (diff) | |
download | src-587e285e97a0baf6e0a46c7b5eb04a697320d87d.tar.gz src-587e285e97a0baf6e0a46c7b5eb04a697320d87d.zip |
Silently handle freeaddrinfo(NULL) for compatibility with code which
works on other OSes. Also avoid unnecessary NULL check, free(NULL) is
valid.
Reviewed by: bjk (man page), hrs, hselasky, ume
Sponsored by: Mellanox Technologies
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D12354
Notes
Notes:
svn path=/head/; revision=323597
Diffstat (limited to 'lib/libedit')
0 files changed, 0 insertions, 0 deletions