Ignore:
Timestamp:
Aug 18, 2009, 5:28:18 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3369@localhost: bruno | 2009-08-18 16:57:27 +0200

  • Transform bout 100 strcpy in dyn. allocation. Quality is improving
  • function figure_out_kernel_path_interactively_if_necessary now return a dynamically allocated string
  • mondoarchive checked with valgrind in text an newt modes
File:
1 edited

Legend:

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

    r2331 r2334  
    441441
    442442    copy_mondo_and_mindi_stuff_to_scratchdir(); // payload, too, if it exists
     443    mr_free(bkpinfo->kernel_path);
    443444#if __FreeBSD__ == 5
    444445    mr_asprintf(bkpinfo->kernel_path, "/boot/kernel/kernel");
     
    446447    mr_asprintf(bkpinfo->kernel_path, "/kernel");
    447448#elif linux
    448     if (figure_out_kernel_path_interactively_if_necessary(bkpinfo->kernel_path)) {
     449    if ((bkpinfo->kernel_path = figure_out_kernel_path_interactively_if_necessary()) == NULL) {
    449450        fatal_error("Kernel not found. Please specify manually with the '-k' switch.");
    450451    }
     
    854855            use_gzip_sz);       // parameter #20 (STRING)
    855856
     857    mr_free(tmp2);
    856858    mr_free(devs_to_exclude);
    857859    mr_free(last_filelist_number);
Note: See TracChangeset for help on using the changeset viewer.