[PATCH 03/16] virDomainDefParseIOThreads: Use g_autoptr() for @iothrid

Peter Krempa pkrempa at redhat.com
Thu Jun 2 07:53:36 UTC 2022


On Thu, Jun 02, 2022 at 09:17:53 +0200, Michal Privoznik wrote:
> Using g_autoptr() for @iothrid variable inside
> virDomainDefParseIOThreads() allows us to drop explicit call to
> virDomainIOThreadIDDefFree() in one case.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_conf.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list