[collectd] [PATCH] Fixed memory leak in collectdclient library.
Jason Schmidlapp
jason.schmidlapp at gmail.com
Thu Mar 1 02:27:50 CET 2012
---
src/libcollectdclient/client.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c
index d13decd..e213482 100644
--- a/src/libcollectdclient/client.c
+++ b/src/libcollectdclient/client.c
@@ -780,6 +780,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 */
--
1.7.2.5
More information about the collectd
mailing list