summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-07-24 13:49:11 +0200
committerDaniel Mack <daniel@zonque.org>2015-07-24 13:52:30 +0200
commit45d9a3041404b6c6a1fb931cf7c1d38e5085e0b3 (patch)
treeaff4404919ac843c97b611102a85ab4858a2be68 /src/import
parent95cdf5e3a938ac54d7e9c31276a5acf08347fa9f (diff)
tree-wide: do not use _cleanup_free_ on const pointers
free() cannot be used with const pointers. However, our _cleanup_free_ handler features cast logic that hides that qualifier, so we don't get a warning.
Diffstat (limited to 'src/import')
-rw-r--r--src/import/pull-dkr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/pull-dkr.c b/src/import/pull-dkr.c
index 78e3184c42..67ca1ce8e4 100644
--- a/src/import/pull-dkr.c
+++ b/src/import/pull-dkr.c
@@ -793,7 +793,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_free_ char *buf;
_cleanup_json_variant_unref_ JsonVariant *doc = NULL;
JsonVariant *e = NULL;