diff options
author | Russell Belfer <rb@github.com> | 2013-02-15 16:01:31 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-02-15 16:01:31 -0800 |
commit | 71d62d3905723c0263ca00a1d68825e2c35fb987 (patch) | |
tree | 8506ebad82ae01d09022893273eb48d61f5ae662 /tests-clar/clar_libgit2.c | |
parent | a7ed746093f42fd61f38a0a9ea5ef73c45f11efa (diff) | |
download | libgit2-71d62d3905723c0263ca00a1d68825e2c35fb987.tar.gz |
Fix memory leak in p_getaddrinfo on Amiga
If gethostbyname() fails on platforms with NO_ADDRINFO, the code
leaks the struct addrinfo that was allocated. This fixes that
(and a number of code formatting issues in that area of code in
src/posix.c).
Diffstat (limited to 'tests-clar/clar_libgit2.c')
0 files changed, 0 insertions, 0 deletions