projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f4055
)
src/utils_threshold.c: Free allocated memory before returning..
author
Peter Holik
<holik@it-technology.at>
Tue, 12 Aug 2008 09:04:27 +0000
(11:04 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Tue, 12 Aug 2008 09:04:27 +0000
(11:04 +0200)
..in an error condition.
src/utils_threshold.c
patch
|
blob
|
history
diff --git
a/src/utils_threshold.c
b/src/utils_threshold.c
index
778b40b
..
7676a5a
100644
(file)
--- a/
src/utils_threshold.c
+++ b/
src/utils_threshold.c
@@
-711,6
+711,7
@@
int ut_check_interesting (const char *name)
if (status != 0)
{
ERROR ("ut_check_interesting: parse_identifier failed.");
+ sfree (name_copy);
return (-1);
}