projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
snmp plugin: plug leak in error path.
[collectd.git]
/
src
/
ntpd.c
diff --git
a/src/ntpd.c
b/src/ntpd.c
index
15b12f9
..
5fdfef3
100644
(file)
--- a/
src/ntpd.c
+++ b/
src/ntpd.c
@@
-670,7
+670,6
@@
static int ntpd_receive_response (int *res_items, int *res_size,
(items_num + pkt_item_num) * res_item_size);
if (items == NULL)
{
- items = *res_data;
ERROR ("ntpd plugin: realloc failed.");
continue;
}