Changeset 2970


Ignore:
Timestamp:
Mar 27, 2012, 12:40:46 PM (7 years ago)
Author:
bruno
Message:
  • Fixes some valgrind warnings
Location:
branches/3.0/mondo/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-archive.c

    r2944 r2970  
    904904//  popup_and_OK("Pausing");
    905905
    906     res = run_program_and_log_output(command, "Generating boot+data disks");
     906    res = run_program_and_log_output(command, FALSE);
    907907    update_evalcall_form(99);
    908908    paranoid_free(command);
  • branches/3.0/mondo/src/common/libmondo-filelist.c

    r2918 r2970  
    13661366        malloc_string(name_of_evalcall_form);
    13671367        malloc_string(find_skeleton_marker);
    1368         while((token = mr_strtok (sth, delims, &lastpos))) {
     1368        while((token = mr_strtok(sth, delims, &lastpos))) {
    13691369          mr_asprintf(&strtmp,"%s", find_excludes);
    13701370          paranoid_free(find_excludes);
  • branches/3.0/mondo/src/lib/mr_str.c

    r1924 r2970  
    2828    size_t pos1 = 0;
    2929    size_t pos2 = 0;
     30
     31    if (instr == NULL) {
     32        *lastpos = 0;
     33        return token;
     34    }
    3035
    3136    if (strlen(instr) <= *lastpos) {
Note: See TracChangeset for help on using the changeset viewer.