Ignore:
Timestamp:
Jun 29, 2009, 7:19:14 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3144@localhost: bruno | 2009-06-26 12:18:08 +0200

  • Remove mr_string.c|.h useless and in de=uplication with mr_str.c|.h
  • Solve with valgrind's help some memroy leak (harmless mostly)
  • Solve a seg fault at end, when unallocating a bkpinfo member after the strcuture disallocation !
  • after mr_strtok, memory ssociated with the token needs to be free
  • Adds a new function free_newt_stuff to free newt related allocated memory
  • Do not exit if mr_free is unsuccessful, and only warn when debug > 8
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-tools.c

    r2230 r2241  
    8383
    8484extern bool am_I_in_disaster_recovery_mode(void);
    85 
    86 /* Return a string containing the date */
    87 char *mr_date(void) {
    88 
    89         time_t tcurr;
    90 
    91         tcurr = time(NULL);
    92         return(ctime(&tcurr));
    93 }
    9485
    9586/*-----------------------------------------------------------*/
     
    14111402        paranoid_free(g_magicdev_command);
    14121403
    1413         mr_free(bkpinfo->nfs_user);
    14141404    }
    14151405
Note: See TracChangeset for help on using the changeset viewer.