projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4701c95
)
http plugin: Fix a memory leak by cleaning up the curl handles
author
Paul Sadauskas
<psadauskas@gmail.com>
Wed, 17 Jun 2009 16:49:02 +0000
(10:49 -0600)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 21 Aug 2009 06:41:53 +0000
(08:41 +0200)
src/http.c
patch
|
blob
|
history
diff --git
a/src/http.c
b/src/http.c
index
6aad9de
..
06737a3
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-353,6
+353,8
@@
static int http_write (const data_set_t *ds, const value_list_t *vl,
return (-1);
}
+ curl_easy_cleanup(curl);
+
return (0);
} /* int http_write */