Re: [PATCH 2/4] lib: Don't set variable to NULL after VIR_FREE()

2022-02-01 Thread Erik Skultety
On Mon, Jan 31, 2022 at 03:53:40PM +0100, Michal Privoznik wrote: > There are a few places where a variable is VIR_FREE()-d and then > explicitly set to NULL. This is not necessary since VIR_FREE() > does that for us. > > Signed-off-by: Michal Privoznik > --- Reviewed-by: Erik Skultety

[PATCH 2/4] lib: Don't set variable to NULL after VIR_FREE()

2022-01-31 Thread Michal Privoznik
There are a few places where a variable is VIR_FREE()-d and then explicitly set to NULL. This is not necessary since VIR_FREE() does that for us. Signed-off-by: Michal Privoznik --- src/conf/domain_conf.c| 1 - src/conf/nwfilter_conf.c | 1 - tests/virtypedparamtest.c | 1 - 3 files