Ignore:
Timestamp:
Jun 3, 2014, 8:20:52 AM (6 years ago)
Author:
Bruno Cornec
Message:
  • Fix a compilation issue in libmondo-archive.c on mindi call with lack of parameter
  • Fix compilation warnings in mr_mem.c
  • Adds function mr_str_substitute in mr_str (not yet used) and test code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/lib/mr_mem.c

    r3292 r3294  
    7777        /* free a variable which should be already free */
    7878        mr_msg_int(1,line,file,"mr_getline_ found a non freed variable here");
    79         mr_free_int(lineptr,line,file);
     79        mr_free_int((void **)lineptr,line,file);
    8080    }
    8181    ret = getline(lineptr,&n,fd);
     
    8686    /*  We reached end of file, allocating empty string */
    8787    if (ret == -1) {
    88         mr_free_int(lineptr,line,file);
     88        mr_free_int((void **)lineptr,line,file);
    8989        mr_asprintf_int(lineptr,line,file,"");
    9090    }
Note: See TracChangeset for help on using the changeset viewer.