On Fri, Apr 10, 2026 at 16:12:07 +0200, Pavel Hrdina via Devel wrote:
> From: Pavel Hrdina <[email protected]>
> 
> Use g_auto() for every virBuffer in this function to make sure none of
> them will leak memory. It is not necessary to use on all of them because
> for some of the buffers virXMLFormatElement() is called before any
> return from the function but for consistency reasons it's better to use
> g_auto() for all cases.
> 
> Fixes: d9b34ad12b2da231431a761b03ca038cdd44bd42
> Signed-off-by: Pavel Hrdina <[email protected]>
> ---
>  src/conf/network_conf.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Peter Krempa <[email protected]>

Reply via email to