[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt PATCH] util/virgdbus: fix memory leak in virGDBusIsServiceInList



On Wed, Sep 23, 2020 at 15:57:00 +0200, Pavel Hrdina wrote:
> g_variant_iter_loop() handles freeing all arguments unless we break out
> of the loop, in that case we have to free them manually.
> 
> Reported-by: Peter Krempa <pkrempa redhat com>
> Signed-off-by: Pavel Hrdina <phrdina redhat com>
> ---
>  src/util/virgdbus.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]