From: Jason Schmidlapp Date: Thu, 1 Mar 2012 01:27:50 +0000 (-0500) Subject: Fixed memory leak in collectdclient library. X-Git-Tag: collectd-4.10.7~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f426ea7a267251a63de8d1da78cf9766532a0ac3;p=collectd.git Fixed memory leak in collectdclient library. Signed-off-by: Florian Forster --- diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 0c748ba7..2f427a83 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -746,6 +746,8 @@ int lcc_getval (lcc_connection_t *c, lcc_identifier_t *ident, /* {{{ */ if (ret_values_names != NULL) *ret_values_names = values_names; + lcc_response_free (&res); + return (0); } /* }}} int lcc_getval */