1
0
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:
Lennart Poettering 2015-01-20 15:06:01 +01:00
parent 68c913fd75
commit 88a1aadc48

View File

@ -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;