diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-21 23:30:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-21 23:30:37 +0200 |
commit | dde8bb32b12c855509777ce52ff59a835155ac78 (patch) | |
tree | 7d964ece0fb7a14155eeb36874c3fc3da71d0632 /src/import/pull-dkr.c | |
parent | 85dbc30747023db0fdb95dfe48fad6102c726fc2 (diff) |
json: minor style fixessystemd/v220
Diffstat (limited to 'src/import/pull-dkr.c')
-rw-r--r-- | src/import/pull-dkr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/import/pull-dkr.c b/src/import/pull-dkr.c index dd2097bb1d..40aca786a5 100644 --- a/src/import/pull-dkr.c +++ b/src/import/pull-dkr.c @@ -794,7 +794,7 @@ static void dkr_pull_job_on_finished_v2(PullJob *j) { } else if (i->tags_job == j) { const char *url; _cleanup_free_ const char *buf; - _cleanup_jsonunref_ JsonVariant *doc = NULL; + _cleanup_json_variant_unref_ JsonVariant *doc = NULL; JsonVariant *e = NULL; assert(!i->ancestry_job); @@ -851,8 +851,7 @@ static void dkr_pull_job_on_finished_v2(PullJob *j) { } else if (i->ancestry_job == j) { - _cleanup_jsonunref_ JsonVariant *doc = NULL; - _cleanup_jsonunref_ JsonVariant *compat = NULL; + _cleanup_json_variant_unref_ JsonVariant *doc = NULL, *compat = NULL; JsonVariant *e = NULL; _cleanup_strv_free_ char **ancestry = NULL; size_t allocated = 0, size = 0; |