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
1 changed files with 1 additions and 0 deletions

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;