X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=sim%2Fppc%2Ftree.c;fp=sim%2Fppc%2Ftree.c;h=4b14323d5ed3fe807e33acd51851be8e9f7d5229;hb=26eb7ed2a438744b176da8b76cf86b321318f1ac;hp=4338cb0b4f68ea4854afa236ee1f1875c92c2572;hpb=46a1b5a6db73ba4f6e8b80153460008adc76b369;p=pf3gnuchains%2Fsourceware.git diff --git a/sim/ppc/tree.c b/sim/ppc/tree.c index 4338cb0b4f..4b14323d5e 100644 --- a/sim/ppc/tree.c +++ b/sim/ppc/tree.c @@ -547,7 +547,7 @@ parse_reg_property(device *current, device_add_reg_array_property(current, property_name, regs, nr_regs); - zfree(regs); + free(regs); } @@ -584,7 +584,7 @@ parse_ranges_property(device *current, /* create it */ device_add_range_array_property(current, property_name, ranges, nr_ranges); - zfree(ranges); + free(ranges); } @@ -770,9 +770,9 @@ parse_string_property(device *current, /* flush the created string */ while (nr_strings > 0) { nr_strings--; - zfree(strings[nr_strings]); + free(strings[nr_strings]); } - zfree(strings); + free(strings); }