Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git] / src / ntpd.c
index 15b12f9..5fdfef3 100644 (file)
@@ -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;
                }