]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: do not use _cleanup_free_ on const pointers 711/head
authorDaniel Mack <daniel@zonque.org>
Fri, 24 Jul 2015 11:49:11 +0000 (13:49 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 24 Jul 2015 11:52:30 +0000 (13:52 +0200)
commit45d9a3041404b6c6a1fb931cf7c1d38e5085e0b3
treeaff4404919ac843c97b611102a85ab4858a2be68
parent95cdf5e3a938ac54d7e9c31276a5acf08347fa9f
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.
src/import/pull-dkr.c
src/journal/journal-vacuum.c
src/udev/udev-builtin-hwdb.c