diff --git a/CHANGELOG.md b/CHANGELOG.md index 883d1824daa0bce8b9894ff32afb8e22f6b0ce82..dd2361d3308abb6187b11f74e1e261351015927c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ All notable changes to this project will be documented in this file. - remove memory leaks from tests - fixed incorrect error message when using rdcu_pkt option without .rdcu_pkt_mode_cfg file - set the rdcu_par option when using the rdcu_pkt option -- fixed a bug when using the last_info option +- fixed several bug when using the last_info option ## [0.09] - 30-09-2022 diff --git a/cmp_tool.c b/cmp_tool.c index b676c67746a2aeb8b6c64e882ced991e534c0028..78c8b7078956b4cfb63d5cad02f6f9dee6f145e2 100644 --- a/cmp_tool.c +++ b/cmp_tool.c @@ -746,11 +746,15 @@ static int compression(struct cmp_cfg *cfg, struct cmp_info *info) } if (rdcu_pkt_mode) { + void *tmp = cfg->icu_new_model_buf; + + cfg->icu_new_model_buf = NULL; printf("Generate compression setup packets ...\n"); error = gen_rdcu_write_pkts(cfg); if (error) goto error_cleanup; printf("... DONE\n"); + cfg->icu_new_model_buf = tmp; } printf("Compress data ... "); diff --git a/meson.build b/meson.build index 01cc9c90de8281a6e95af9dc0e7deb2f3f218f12..802be0c38ce06f0524a9eebf0fd4503e186f5c25 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('cmp_tool', 'c', - version : '0.10-b.3', + version : '0.10-b.4', meson_version : '>= 0.56', license : 'GPL-2.0', default_options : ['warning_level=3', 'c_std=gnu99']