aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-bind-error.c
diff options
context:
space:
mode:
authorWayne Zhang <shuowang.zhang@ibm.com>2022-05-17 12:18:18 -0400
committerJameson Nash <vtjnash@gmail.com>2022-06-11 00:26:43 -0400
commitd938c104e1f27deea44a99f2936ad753eab19d7a (patch)
treef74fc377747301ddd4b1475a0b6fcdf36a402ece /test/test-tcp-bind-error.c
parent524c5ed87d7cce85df7118eb261c7b47c563c7ad (diff)
downloadlibuv-d938c104e1f27deea44a99f2936ad753eab19d7a.tar.gz
libuv-d938c104e1f27deea44a99f2936ad753eab19d7a.zip
zos: improve memory management of ip addresses (#3640 3/3)
Fixes an issue where under certain conditions, dynamically allocated ip addresses, strings, and buffers were either leaking memory, being incorrectly freed, or not performing error checks. Also fixes an issue where the uv_interface_address_t struct was not correctly initialized to 0, so use calloc() instead of malloc(). Co-authored-by: Igor Todorovski <itodorov@ca.ibm.com>
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions