summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
Diffstat (limited to 'src/import')
-rw-r--r--src/import/import-job.c1
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;