projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netapp plugin: free_host_config: Close the connection if applicable.
[collectd.git]
/
src
/
netapp.c
diff --git
a/src/netapp.c
b/src/netapp.c
index
bea86f6
..
aab30e5
100644
(file)
--- a/
src/netapp.c
+++ b/
src/netapp.c
@@
-386,6
+386,9
@@
static void free_host_config (host_config_t *hc) /* {{{ */
sfree (hc);
+ if (hc->srv != NULL)
+ na_server_close (hc->srv);
+
free_host_config (next);
} /* }}} void free_host_config */