]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/memory-util.h
test: add _cleanup_(erase_and_freep)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Jul 2019 08:37:53 +0000 (10:37 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Jul 2019 09:39:03 +0000 (11:39 +0200)
commit44c786f04ad40d89b0a0cf4c31612b0b2a4f3765
treeae56a0575ae01219401086ac92335ecc8e5b839c
parent7810d22171bbff1301397357afd4146016a60bde
test: add _cleanup_(erase_and_freep)

Based on the macro and test case by Lennart Poettering and
Topi Miettinen suggestion.
src/basic/memory-util.h
src/test/test-alloc-util.c