diff options
author | Simon McVittie <smcv@collabora.com> | 2020-03-11 13:14:45 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2020-03-11 13:17:43 +0000 |
commit | ab705c14cbf284f856d5725eb4843f618f5acdcc (patch) | |
tree | 04e9da97616af0b408e30ecc3eab2236428df095 /.gitignore | |
parent | 041cadb73836d1add99daa1c4847a5033fb32d61 (diff) | |
download | dbus-ab705c14cbf284f856d5725eb4843f618f5acdcc.tar.gz |
sysdeps-win: Refactor cleanup of struct addrinfo during connect()mr143-refactoring
As suggested on !143. Instead of remembering to free it in every error
condition, let's move its cleanup to the "out" phase so that it's done
every time.
Change the iterator variable tmp to be const so that it's obvious we
aren't meant to free that too.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions