]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/execute.c
tree-wide: take benefit of the fact that hashmap_free() returns NULL 1226/head
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Sep 2015 21:12:07 +0000 (23:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Sep 2015 21:12:07 +0000 (23:12 +0200)
commit525d3cc746a037e8cc6b2e0ebaaf76a51856fa6b
treec96ffcfb5a7bf46fdbbd4ea6bf801bc3b3cf7acd
parent6796073e330f49923c5134652ee085e29fc88002
tree-wide: take benefit of the fact that hashmap_free() returns NULL

And set_free() too.

Another Coccinelle patch.
coccinelle/hashmap_free.cocci [new file with mode: 0644]
src/core/automount.c
src/core/dbus.c
src/core/device.c
src/core/execute.c
src/core/load-fragment.c
src/core/main.c
src/core/swap.c
src/core/unit.c
src/resolve/resolved-dns-zone.c