Changeset 2868 in MondoRescue


Ignore:
Timestamp:
Sep 14, 2011, 11:56:36 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix a panadoid_free done on the wrong variable (solve a memory leak)
File:
1 edited

Legend:

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

    r2855 r2868  
    15941594        paranoid_free(tmp);
    15951595    }
    1596     paranoid_free(tmp);
     1596    paranoid_free(tmp1);
    15971597
    15981598    log_msg(1, "Mounting USB device.");
     
    16011601    run_program_and_log_output(tmp, FALSE);
    16021602    paranoid_free(tmp);
     1603
    16031604    /* Mindi always create one single parition on the USB dev */
    16041605    mr_asprintf(&tmp, "mount %s1 %s", bkpinfo->media_device, tmp1);
Note: See TracChangeset for help on using the changeset viewer.