Changeset 3337 in MondoRescue for branches


Ignore:
Timestamp:
Jan 26, 2015, 12:25:07 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • Fix some memory allocation which were not freed correctly (valgrind report)
Location:
branches/3.2/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3318 r3337  
    10381038    } else {
    10391039        mr_getline(p, pin);
     1040        mr_free(p);
    10401041        mr_asprintf(good_formats, " %s",p);
    10411042        (void)pclose(pin);
  • branches/3.2/mondo/src/common/libmondo-verify.c

    r3207 r3337  
    420420    /*  getcwd(old_pwd,MAX_STR_LEN-1); */
    421421
    422 
    423     command = malloc(2000);
    424     malloc_string(outlog);
    425     malloc_string(tmp);
    426422    assert(bkpinfo != NULL);
    427423    assert_string_is_neither_NULL_nor_zerolength(tarball_fname);
Note: See TracChangeset for help on using the changeset viewer.