Changeset 1151


Ignore:
Timestamp:
Feb 12, 2007, 8:05:30 PM (13 years ago)
Author:
bruno
Message:

2 prototypes added
Free memory which was lost otherwise
(Patches from Michel Loiseleur <mloiseleur_at_linagora.com>)

Location:
branches/stable/mondo/src
Files:
2 edited

Legend:

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

    r1140 r1151  
    5656    }
    5757    strip_spaces(result);
     58    mr_free(tmp);
    5859    return (result);
    5960}
  • branches/stable/mondo/src/mondoarchive/main.c

    r1143 r1151  
    6060 * Print a "don't panic" message to the log and a message about the logfile to the screen.
    6161 */
    62 void welcome_to_mondoarchive()
     62void welcome_to_mondoarchive(void)
    6363{
    6464    mr_msg(0, "Mondo Archive v%s --- http://www.mondorescue.org",
     
    105105 * of the day.
    106106 */
    107 void distro_specific_kludges_at_start_of_mondoarchive()
     107void distro_specific_kludges_at_start_of_mondoarchive(void)
    108108{
    109109    mr_msg(2, "Unmounting old ramdisks if necessary");
     
    122122 * Undo whatever was done by distro_specific_kludges_at_start_of_mondoarchive().
    123123 */
    124 void distro_specific_kludges_at_end_of_mondoarchive()
     124void distro_specific_kludges_at_end_of_mondoarchive(void)
    125125{
    126126//  char tmp[500];
Note: See TracChangeset for help on using the changeset viewer.