Ignore:
Timestamp:
Mar 5, 2024, 1:24:48 AM (4 months ago)
Author:
Bruno Cornec
Message:

manages tmpdir dynamically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/newt-specific.c

    r3830 r3833  
    402402            mr_free(command);
    403403        }
    404         if (bkpinfo->tmpdir) {
     404        if (bkpinfo->tmpdir != NULL) {
    405405            log_msg(8,"tempdir is %s",bkpinfo->tmpdir);
    406406            if (strstr(bkpinfo->tmpdir ,"mondo.tmp.") != NULL) {
     
    439439        mr_free(bkpinfo->zip_exe);
    440440        mr_free(bkpinfo->zip_suffix);
     441        mr_free(bkpinfo->tmpdir);
    441442        /* Then free the structure */
    442443        paranoid_free(bkpinfo);
Note: See TracChangeset for help on using the changeset viewer.