shut up gcc complaining about freeing a const variable