Changeset 689 in MondoRescue for trunk/mondo/mondo/common/libmondo-files.c


Ignore:
Timestamp:
Jul 17, 2006, 7:43:58 PM (18 years ago)
Author:
bcornec
Message:

Still other memory management improvements ( I hope :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-files.c

    r688 r689  
    738738            if (0 == strncmp(fname, "/dev/", 5)) {
    739739                if (is_dev_an_NTFS_dev(fname)) {
    740                     if ( !find_home_of_exe("ntfsresize")) {
     740                    tmp = find_home_of_exe("ntfsresize");
     741                    if (!tmp) {
    741742                        fatal_error("ntfsresize not found");
    742743                    }
     744                    paranoid_free(tmp);
     745
    743746                    asprintf(&command, "ntfsresize --force --info %s|grep '^You might resize at '|cut -d' ' -f5", fname);
    744747                    log_it("command = %s", command);
Note: See TracChangeset for help on using the changeset viewer.