mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-04 22:07:42 +00:00
Revert "Fix control->suffix being deallocated as heap memory as reported by Pietro Borrello."
This reverts commit 5faf80cd53.
No longer needed without liblrzip.
This commit is contained in:
parent
23fc8a8f63
commit
23407bc8f7
2 changed files with 3 additions and 5 deletions
2
lrzip.c
2
lrzip.c
|
|
@ -1359,7 +1359,7 @@ bool initialise_control(rzip_control *control)
|
|||
control->msgerr = stderr;
|
||||
register_outputfile(control, control->msgout);
|
||||
control->flags = FLAG_SHOW_PROGRESS | FLAG_KEEP_FILES | FLAG_THRESHOLD;
|
||||
control->suffix = strdup(".lrz");
|
||||
control->suffix = ".lrz";
|
||||
control->compression_level = 7;
|
||||
control->ramsize = get_ram(control);
|
||||
if (unlikely(control->ramsize == -1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue