Ignore:
Timestamp:
Jan 28, 2007, 7:04:41 PM (12 years ago)
Author:
bruno
Message:
  • Fix mindi install messages (reported by Andree Leidenfrost)
  • remove paranoid_free/free for mr_free
  • mr_asprintf used everywhere
  • mr_malloc used everywhere
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-files.c

    r1075 r1080  
    282282            fatal_error("Mindi gave a fatal error. Please check '/var/log/mindi.log'.");
    283283        }
    284         paranoid_free(command);
     284        mr_free(command);
    285285    }
    286286    log_it("Calling Mindi with kernel path of '%s'", kernel);
     
    334334    if (incoming[0] == '\0') {
    335335        if (system("which file > /dev/null 2> /dev/null")) {
    336             paranoid_free(incoming);
    337             paranoid_free(command);
     336            mr_free(incoming);
     337            mr_free(command);
    338338            output[0] = '\0';
    339339            return (NULL);      // forget it :)
     
    359359        log_msg(4, "find_home_of_exe() --- Could not find %s", fname);
    360360    }
    361     paranoid_free(incoming);
    362     paranoid_free(command);
     361    mr_free(incoming);
     362    mr_free(command);
    363363    if (!output[0]) {
    364364        return (NULL);
     
    865865    paranoid_fclose(fin);
    866866    log_it("Finished calculating total size of all biggiefiles");
    867     paranoid_free(fname);
    868     paranoid_free(biggielist);
    869     paranoid_free(comment);
    870     paranoid_free(tmp);
    871     paranoid_free(command);
     867    mr_free(fname);
     868    mr_free(biggielist);
     869    mr_free(comment);
     870    mr_free(tmp);
     871    mr_free(command);
    872872    return (scratchL);
    873873}
     
    14031403        retval = 1;
    14041404    }
    1405     paranoid_free(tmp);
     1405    mr_free(tmp);
    14061406    return (retval);
    14071407}
Note: See TracChangeset for help on using the changeset viewer.