Some observations I made while implementing this:
[rrdtool.git] / src / rrd_client.c
index 44d4d60..76fded0 100644 (file)
@@ -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);