diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-20 15:06:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-20 15:06:58 +0100 |
commit | 88a1aadc48e5bbefd2e689db099569ec4c3c1e4b (patch) | |
tree | e4be14d75e55e66b3dfc283172f85452ddef8e9d /src/import | |
parent | 68c913fd751f5c750e3c786b4ed512154b354599 (diff) |
import: be less aggressive when allocating memory for downloaded payload
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/import-job.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/import-job.c b/src/import/import-job.c index fa6dea5528..37f8ef76e4 100644 --- a/src/import/import-job.c +++ b/src/import/import-job.c @@ -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; |