]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2: replace _cleanup_tpm2_* macros with _cleanup_()
authorDan Streetman <ddstreet@ieee.org>
Wed, 17 May 2023 21:16:23 +0000 (17:16 -0400)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 7 Jun 2023 23:09:08 +0000 (01:09 +0200)
commit1dc8f51841f2a552da8924c4d5501c7b1c757ba8
tree872eb58c0aea71c20b65948f995760b5f07c38af
parent50ff4753ecb300c3693ed70ecd4354d8ee919c72
tpm2: replace _cleanup_tpm2_* macros with _cleanup_()

Remove _cleanup_tpm2_context_ and _cleanup_tpm2_handle_ macros, replacing their
use with _cleanup_(tpm2_context_unrefp) and _cleanup_(tpm2_handle_freep),
respectively.
src/boot/pcrphase.c
src/cryptsetup/cryptsetup.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h
src/test/test-tpm2.c