collectd -T: fix memory leak
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 25 Jul 2015 09:57:12 +0000 (11:57 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sat, 1 Aug 2015 07:18:57 +0000 (09:18 +0200)
src/plugin.c

index 8dfb2c2..5d31e46 100644 (file)
@@ -1605,6 +1605,7 @@ int plugin_read_all_once (void)
                        return_status = -1;
                }
 
+               sfree (rf->rf_name);
                destroy_callback ((void *) rf);
        }