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

manages scratchdir dynamically

File:
1 edited

Legend:

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

    r3833 r3834  
    411411            }
    412412        }
    413         if (bkpinfo->scratchdir) {
     413        if (bkpinfo->scratchdir != NULL) {
    414414            log_msg(8,"scratchdir is %s", bkpinfo->scratchdir);
    415415            if (strstr(bkpinfo->scratchdir ,"mondo.scratch.") != NULL) {
     
    440440        mr_free(bkpinfo->zip_suffix);
    441441        mr_free(bkpinfo->tmpdir);
     442        mr_free(bkpinfo->scratchdir);
    442443        /* Then free the structure */
    443444        paranoid_free(bkpinfo);
Note: See TracChangeset for help on using the changeset viewer.