mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +03:00
import: be less aggressive when allocating memory for downloaded payload
This commit is contained in:
parent
68c913fd75
commit
88a1aadc48
@ -369,6 +369,7 @@ static int import_job_detect_compression(ImportJob *j) {
|
||||
|
||||
j->payload = NULL;
|
||||
j->payload_size = 0;
|
||||
j->payload_allocated = 0;
|
||||
|
||||
j->state = IMPORT_JOB_RUNNING;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user