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

2022-06-02 Thread Peter Krempa
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 > --- > src/conf/domain_conf.c | 6 ++

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

2022-06-02 Thread Michal Privoznik
Using g_autoptr() for @iothrid variable inside virDomainDefParseIOThreads() allows us to drop explicit call to virDomainIOThreadIDDefFree() in one case. Signed-off-by: Michal Privoznik --- src/conf/domain_conf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf/d