Hi, I've committed the attached patch and discovered that range_start and range_end in parted.c probably need to be freed too :
==7233== 56 bytes in 2 blocks are definitely lost in loss record 7 of 17 ==7233== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==7233== by 0x8055E3C: ped_malloc (libparted.c:278) ==7233== by 0x805490F: ped_geometry_new (geom.c:50) ==7233== by 0x804FAE5: command_line_get_sector (ui.c:544) ==7233== by 0x804C905: do_resize (parted.c:1156) ==7233== by 0x804A06D: command_run (command.c:129) ==7233== by 0x8050C3A: interactive_mode (ui.c:1046) ==7233== by 0x804E23B: main (parted.c:1743) Can somebody take care of that ? Cheers, Guillaume
parted.leak.patch
Description: Binary data
_______________________________________________ Bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
