summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel P. Berrangé2019-07-23 17:22:36 +0200
committerDaniel P. Berrangé2019-08-22 11:56:57 +0200
commit57b9f113fce2a2231a47e9295c1d461e9ff7f0f7 (patch)
tree5916f14bbe28782fe1da06544bfe9e58f6867e4d /include
parentcrypto: define cleanup functions for use with g_autoptr (diff)
downloadqemu-57b9f113fce2a2231a47e9295c1d461e9ff7f0f7.tar.gz
qemu-57b9f113fce2a2231a47e9295c1d461e9ff7f0f7.tar.xz
qemu-57b9f113fce2a2231a47e9295c1d461e9ff7f0f7.zip
crypto: use auto cleanup for many stack variables
Simplify cleanup paths by using glib's auto cleanup macros for stack variables, allowing several goto jumps / labels to be eliminated. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions