X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsnmp.c;h=aa3c9ddab38f59d14aca10ba7478e94cde7db9cf;hb=5ea1f5a36f99f6c828936d1f993c9ba790b953ec;hp=c299db9634406b45e8697572722c852d571bcaa4;hpb=7f38ca96e3a54a4b02475f857c7d79c6a1257ada;p=collectd.git diff --git a/src/snmp.c b/src/snmp.c index c299db96..aa3c9dda 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -711,7 +711,6 @@ static int csnmp_config_add_host(oconfig_item_t *ci) { }); if (status != 0) { ERROR("snmp plugin: Registering complex read function failed."); - csnmp_host_definition_destroy(hd); return -1; }