summaryrefslogtreecommitdiff
path: root/tests-clar/clar_libgit2.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-02-15 16:01:31 -0800
committerRussell Belfer <rb@github.com>2013-02-15 16:01:31 -0800
commit71d62d3905723c0263ca00a1d68825e2c35fb987 (patch)
tree8506ebad82ae01d09022893273eb48d61f5ae662 /tests-clar/clar_libgit2.c
parenta7ed746093f42fd61f38a0a9ea5ef73c45f11efa (diff)
downloadlibgit2-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