X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_client.c;fp=src%2Frrd_client.c;h=76fded03830fee7346f9ee98258bff027661b29d;hb=24a1cb649dd3b5c5d93fa470ebfe4d88abb2af00;hp=44d4d603b7df5a11208e40f0375389cc383f3c8b;hpb=ad36ac7e183349921751cf61f4629258a6eb8309;p=rrdtool.git diff --git a/src/rrd_client.c b/src/rrd_client.c index 44d4d60..76fded0 100644 --- a/src/rrd_client.c +++ b/src/rrd_client.c @@ -741,7 +741,7 @@ void rrdc_stats_free (rrdc_stats_t *ret_stats) /* {{{ */ if (this->name != NULL) { - free (this->name); + free ((char *)this->name); this->name = NULL; } free (this);