]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNetLibsshSessionAuthAddPrivKeyAuth: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Tue, 2 Feb 2021 15:00:28 +0000 (16:00 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Feb 2021 12:07:12 +0000 (13:07 +0100)
commit5761f8ab54a12e2d49bd993a9172e3f8d501dc13
treef9183601afb8dced1f63be5e4c6d76b7f49b694a
parent34e522418f7fdd22b0a88fd5402c1d8d1bcb28b1
virNetLibsshSessionAuthAddPrivKeyAuth: Refactor cleanup

Shuffle the code around to remove the need for temporary variables and
labels for cleaning them.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/virnetlibsshsession.c