Cast to char* in free