Bug fix: Keeping and patching of loaded boot images failed. Regression by version 1.4.4.

This commit is contained in:
Thomas Schmitt 2017-08-14 17:51:05 +02:00
parent e19a338a09
commit 1e40ed3fab

View File

@ -5849,6 +5849,7 @@ int iso_image_import(IsoImage *image, IsoDataSource *src,
boot_image->platform_id = data->platform_ids[idx]; boot_image->platform_id = data->platform_ids[idx];
memcpy(boot_image->id_string, data->id_strings[idx], 28); memcpy(boot_image->id_string, data->id_strings[idx], 28);
memcpy(boot_image->selection_crit, data->selection_crits, 20); memcpy(boot_image->selection_crit, data->selection_crits, 20);
boot_image->appended_idx = -1;
catalog->bootimages[catalog->num_bootimages] = boot_image; catalog->bootimages[catalog->num_bootimages] = boot_image;
boot_image = NULL; boot_image = NULL;