diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-04-05 14:26:26 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-04-05 14:26:26 +0900 |
commit | 1cc6c93a9569a9f2664d0d26cd0e50408307c430 (patch) | |
tree | 57e115a1beb9b097f731da79c3192015ff35cc94 /src/import/pull-common.c | |
parent | 3d282fff063c81893dc4bbd0282193d20dd5357e (diff) | |
download | systemd-1cc6c93a9569a9f2664d0d26cd0e50408307c430.tar.gz |
tree-wide: use TAKE_PTR() and TAKE_FD() macros
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; } |