commit | 94ed856a200c9b3cfc46f4783f3c1063842de07f | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Sat Oct 07 11:16:49 2017 -0700 |
committer | Guy Harris <guy@alum.mit.edu> | Sat Oct 07 11:16:49 2017 -0700 |
tree | 6cb2d6852397d3a0c905a7297e3fd76c8be0d357 | |
parent | 31916606cb2dde20dc2a48f2b4351578f8dc50b1 [diff] |
Don't leak address lists. If we get an error in sock_initaddress(), and we've allocated an address list, free it before we return an error indication. If we found the specified address in sock_check_hostlist(), free the address list before returning. Addresses CIDs 1419017 and 1419024.