From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Evgeny Kolmakov <randomjack94dev@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] crypto: Use g_autofree
Date: Fri, 10 Jul 2026 11:29:43 +0100 [thread overview]
Message-ID: <alDJl3Q_ubQZRszD@redhat.com> (raw)
In-Reply-To: <20260709212750.290898-1-randomjack94dev@gmail.com>
On Fri, Jul 10, 2026 at 12:27:50AM +0300, Evgeny Kolmakov wrote:
> Use g_autofree attribute to reduce the amount
> of manual g_free() calls and 'goto out' code
>
> Signed-off-by: Evgeny Kolmakov <randomjack94dev@gmail.com>
> ---
> crypto/block.c | 17 ++++++-----------
> crypto/hmac-gcrypt.c | 12 ++++--------
> crypto/hmac-glib.c | 10 +++-------
> crypto/ivgen-essiv.c | 15 ++++-----------
> crypto/ivgen.c | 6 ++----
> crypto/secret_keyring.c | 5 ++---
> 6 files changed, 21 insertions(+), 44 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
prev parent reply other threads:[~2026-07-10 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 21:27 [PATCH] crypto: Use g_autofree Evgeny Kolmakov
2026-07-10 10:29 ` Daniel P. Berrangé [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alDJl3Q_ubQZRszD@redhat.com \
--to=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=randomjack94dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.