Changeset 3348


Ignore:
Timestamp:
Feb 26, 2015, 2:18:05 PM (5 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug in is_this_a_valid_disk_format where a string was freed up before usage.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3337 r3348  
    10381038    } else {
    10391039        mr_getline(p, pin);
     1040        mr_asprintf(good_formats, " %s",p);
    10401041        mr_free(p);
    1041         mr_asprintf(good_formats, " %s",p);
    10421042        (void)pclose(pin);
    10431043        mr_strip_spaces(good_formats);
Note: See TracChangeset for help on using the changeset viewer.