summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dbf349e)
raw | patch | inline | side by side (parent: dbf349e)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 15:45:52 +0000 (17:45 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 15:45:52 +0000 (17:45 +0200) |
src/utils_latency.c | patch | blob | history |
diff --git a/src/utils_latency.c b/src/utils_latency.c
index dfdef6115f249f1c9f66a74467192a667e94a325..893bded3b9b387187adbab01eb55e6134001488e 100644 (file)
--- a/src/utils_latency.c
+++ b/src/utils_latency.c
lc = malloc (sizeof (*lc));
if (lc == NULL)
return (NULL);
+ memset (lc, 0, sizeof (*lc));
latency_counter_reset (lc);
lc->bin_width = HISTOGRAM_DEFAULT_BIN_WIDTH;