On Thu, Jul 25, 2019 at 09:43:41AM +0100, Daniel P. Berrangé wrote:
> Simplify cleanup paths by using glib's auto cleanup macros for stack
> variables, allowing several goto jumps / labels to be eliminated.
> 
> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
> ---
>  crypto/afsplit.c      | 28 +++++-----------
>  crypto/block-luks.c   | 74 +++++++++++++------------------------------
>  crypto/block.c        | 15 +++------
>  crypto/pbkdf.c        |  5 +--
>  crypto/secret.c       | 38 ++++++++++------------
>  crypto/tlscredsanon.c | 16 ++++------
>  crypto/tlscredspsk.c  |  5 ++-
>  crypto/tlscredsx509.c | 16 +++-------
>  8 files changed, 65 insertions(+), 132 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to