From: Christian Ekstam Date: Fri, 20 Apr 2018 08:50:53 +0000 (+0200) Subject: trying again X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fe33f28cb313fd0b5d71173898056ea42edeeada;p=collectd.git trying again --- diff --git a/src/modbus.c b/src/modbus.c index da0d2d66..64227741 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -997,8 +997,7 @@ static int mb_config_add_host(oconfig_item_t *ci) /* {{{ */ /* callback = */ mb_read, /* interval = */ host->interval, &(user_data_t){ - .data = host, - .free_func = host_free, + .data = host, .free_func = host_free, }); } else { host_free(host);