diff options
| author | Daniel P. Berrangé | 2019-07-23 17:22:36 +0200 |
|---|---|---|
| committer | Daniel P. Berrangé | 2019-08-22 11:56:57 +0200 |
| commit | 57b9f113fce2a2231a47e9295c1d461e9ff7f0f7 (patch) | |
| tree | 5916f14bbe28782fe1da06544bfe9e58f6867e4d /include | |
| parent | crypto: define cleanup functions for use with g_autoptr (diff) | |
| download | qemu-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
