diff options
Diffstat (limited to 'src/import/pull-common.c')
-rw-r--r-- | src/import/pull-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/import/pull-common.c b/src/import/pull-common.c index 92f2692c81..dcd07d49b2 100644 --- a/src/import/pull-common.c +++ b/src/import/pull-common.c @@ -258,8 +258,7 @@ int pull_make_auxiliary_job( job->on_finished = on_finished; job->compressed_max = job->uncompressed_max = 1ULL * 1024ULL * 1024ULL; - *ret = job; - job = NULL; + *ret = TAKE_PTR(job); return 0; } |