projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exec: free up memory on shutdown
[collectd.git]
/
src
/
statsd.c
diff --git
a/src/statsd.c
b/src/statsd.c
index
6c7820a
..
9050596
100644
(file)
--- a/
src/statsd.c
+++ b/
src/statsd.c
@@
-606,9
+606,8
@@
static int statsd_config_timer_percentile(oconfig_item_t *ci) /* {{{ */
return ERANGE;
}
return ERANGE;
}
- tmp =
- realloc(conf_timer_percentile,
- sizeof(*conf_timer_percentile) * (conf_timer_percentile_num + 1));
+ tmp = realloc(conf_timer_percentile, sizeof(*conf_timer_percentile) *
+ (conf_timer_percentile_num + 1));
if (tmp == NULL) {
ERROR("statsd plugin: realloc failed.");
return ENOMEM;
if (tmp == NULL) {
ERROR("statsd plugin: realloc failed.");
return ENOMEM;