Changeset 1415


Ignore:
Timestamp:
May 7, 2007, 9:43:01 PM (12 years ago)
Author:
bruno
Message:

Attempt to solve valgrind issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/mondoarchive.c

    r1390 r1415  
    135135static void mr_ar_store_conf(struct mr_ar_conf *mr_cnf) {
    136136   
    137     mr_asprintf(&mr_cnf->iso_creation_cmd, mr_conf_sread("mondo_iso_creation_cmd"));
     137    char *p = NULL;
     138
     139    mr_asprintf(&p, mr_conf_sread("mondo_iso_creation_cmd"));
     140    mr_cnf->iso_creation_cmd = p;
    138141    mr_asprintf(&mr_cnf->iso_creation_options, mr_conf_sread("mondo_iso_creation_options"));
    139142    mr_asprintf(&mr_cnf->iso_burning_cmd, mr_conf_sread("mondo_iso_burning_cmd"));
Note: See TracChangeset for help on using the changeset viewer.