projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49bd12d
)
curl plugin: Fix memory leak.
author
Florian Forster
<octo@collectd.org>
Fri, 19 Jun 2015 08:54:02 +0000
(10:54 +0200)
committer
Florian Forster
<octo@collectd.org>
Fri, 19 Jun 2015 08:54:02 +0000
(10:54 +0200)
src/curl.c
patch
|
blob
|
history
diff --git
a/src/curl.c
b/src/curl.c
index
ac55953
..
9d2196a
100644
(file)
--- a/
src/curl.c
+++ b/
src/curl.c
@@
-325,7
+325,10
@@
static int cc_config_add_match (web_page_t *page, /* {{{ */
} /* while (status == 0) */
if (status != 0)
+ {
+ cc_web_match_free (match);
return (status);
+ }
match->match = match_create_simple (match->regex, match->exclude_regex,
match->dstype);