diff -up fatresize-1.0.2/fatresize.c.orig fatresize-1.0.2/fatresize.c --- fatresize-1.0.2/fatresize.c.orig 2005-09-20 10:29:08.000000000 +0200 +++ fatresize-1.0.2/fatresize.c 2012-12-18 00:19:45.061745003 +0100 @@ -320,11 +320,11 @@ partition_warn_busy(PedPartition* part) ("Partition %s is being used. You must unmount it " "before you modify it with Parted."), path); - ped_free(path); + free(path); return 0; } - ped_free(path); + free(path); return 1; } @@ -507,8 +507,8 @@ main(int argc, char **argv) } else if (!ped_unit_parse(def_str, dev, &end, &range_end)) return 1; - ped_free(old_str); - ped_free(def_str); + free(old_str); + free(def_str); printd(3, "ped_geometry_duplicate()\n"); old_geom = ped_geometry_duplicate(&part->geom);