summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51f407e)
raw | patch | inline | side by side (parent: 51f407e)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Dec 2015 11:09:00 +0000 (12:09 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 20:26:17 +0000 (21:26 +0100) |
CID #37997
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
src/libcollectdclient/client.c | patch | blob | history |
index 5db98e58b6fdf60af9c6a37299fbda85c68b05d3..802e6439d8ac633d7ec6245470f614904573d4da 100644 (file)
if (status != 0)
{
lcc_set_errno (c, status);
+ freeaddrinfo (ai_res);
return (-1);
}
+ freeaddrinfo (ai_res);
return (0);
} /* }}} int lcc_open_netsocket */