Ignore:
Timestamp:
Aug 18, 2009, 2:36:42 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3328@localhost: bruno | 2009-08-04 00:26:50 +0200
g_serial_string dynamically allocated

File:
1 edited

Legend:

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

    r2301 r2317  
    3434extern int g_current_media_number;
    3535extern char *MONDO_LOGFILE;
     36extern char *g_serial_string;
    3637
    3738/* Reference to global bkpinfo */
     
    5657 */
    5758char *g_mondo_home = NULL;
    58 
    59 /**
    60  * The serial string (used to differentiate between backups) of the current backup.
    61  */
    62 char *g_serial_string = NULL;
    6359
    6460/**
     
    13831379        malloc_string(g_boot_mountpt);
    13841380        malloc_string(g_mondo_home);
    1385         /*
    1386         malloc_string(g_tmpfs_mountpt);
    1387         */
    13881381        malloc_string(g_magicdev_command);
    13891382    } else {
    13901383        paranoid_free(g_boot_mountpt);
    13911384        paranoid_free(g_mondo_home);
    1392         /*
    1393         paranoid_free(g_tmpfs_mountpt);
    1394         */
     1385        paranoid_free(g_magicdev_command);
     1386
    13951387        mr_free(g_serial_string);
    1396         paranoid_free(g_magicdev_command);
    1397 
    13981388    }
    13991389}
Note: See TracChangeset for help on using the changeset viewer.