On 4/14/25 15:51, Alexander Kuznetsov wrote:
> virNWFilterInstReset() may be called multiple times, leading to a double 
> g_free()
> Replace plain g_free() with g_clear_pointer() to prevent this
> 
> Found by Linux Verification Center (linuxtesting.org) with Svace.
> 
> Reported-by: Dmitry Fedin <d.fe...@fobos-nt.ru>
> Signed-off-by: Alexander Kuznetsov <kuznetso...@altlinux.org>
> ---
>  src/nwfilter/nwfilter_gentech_driver.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Reviewed-by: Michal Privoznik <mpriv...@redhat.com>
and merged.

Michal

Reply via email to