Corrected previous revision which freed memory too generously

This commit is contained in:
Thomas Schmitt 2011-05-01 22:49:34 +02:00
parent 49efbdad76
commit e3329a98a9

View File

@ -1599,9 +1599,9 @@ int iso_file_source_new_ifs(IsoImageFilesystem *fs, IsoFileSource *parent,
sprintf(msg,
"Character set name recorded in ISO image: '%.80s'",
cs_value);
free(cs_value);
}
iso_msgs_submit(0, msg, 0, "NOTE", 0);
free(cs_value);
cs_value = NULL;
}
}