device_add_reg_array_property(current, property_name,
regs, nr_regs);
- zfree(regs);
+ free(regs);
}
/* create it */
device_add_range_array_property(current, property_name, ranges, nr_ranges);
- zfree(ranges);
+ free(ranges);
}
/* flush the created string */
while (nr_strings > 0) {
nr_strings--;
- zfree(strings[nr_strings]);
+ free(strings[nr_strings]);
}
- zfree(strings);
+ free(strings);
}