Code cleanup

This commit is contained in:
Pierre Pronchery 2022-05-22 04:41:18 +02:00
parent e36b8e4ad9
commit 7723d864e6

View File

@ -45,7 +45,7 @@
/* types */
struct _DaMon
{
char * prefix;
String * prefix;
String * rrdcached;
unsigned int refresh;
DaMonHost * hosts;
@ -367,7 +367,7 @@ static void _damon_destroy(DaMon * damon)
event_delete(damon->event);
free(damon->hosts);
string_delete(damon->rrdcached);
free(damon->prefix);
string_delete(damon->prefix);
}
static void _destroy_host(DaMonHost * host)