projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fefa5f3
)
netapp plugin: free_host_config: Close the connection if applicable.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 29 Sep 2009 14:50:22 +0000
(16:50 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 29 Sep 2009 14:50:22 +0000
(16:50 +0200)
src/netapp.c
patch
|
blob
|
history
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 */