From dde8bb32b12c855509777ce52ff59a835155ac78 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 May 2015 23:30:37 +0200 Subject: json: minor style fixes --- src/import/pull-dkr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/import') 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; -- cgit v1.2.3-54-g00ecf