]> git.ipfire.org Git - thirdparty/systemd.git/commit
Add set/hashmap helpers for non-trivial freeing and use where straighforward
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Nov 2017 11:35:49 +0000 (12:35 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Nov 2017 20:30:30 +0000 (21:30 +0100)
commit224b0e7ad0116579f830b7dd387b97c3facb65d9
treed769049843011ec955d86af31e2f0d62c4521f38
parentec1d290903538df3183dac2771b5db429b6f7688
Add set/hashmap helpers for non-trivial freeing and use where straighforward

A macro is needed because otherwise we couldn't ensure type safety.
Some simple tests are included.
No functional change intended.
19 files changed:
src/basic/hashmap.h
src/basic/set.h
src/busctl/busctl.c
src/cgtop/cgtop.c
src/libsystemd-network/sd-dhcp-server.c
src/libsystemd/sd-bus/bus-track.c
src/machine/image-dbus.c
src/machine/machined.c
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-trust-anchor.c
src/shared/bus-util.c
src/shared/install.c
src/socket-proxy/socket-proxyd.c
src/systemctl/systemctl.c
src/sysusers/sysusers.c
src/sysv-generator/sysv-generator.c
src/test/test-hashmap.c
src/test/test-set.c
src/tmpfiles/tmpfiles.c