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

Erik Skultety eskultet at redhat.com
Tue Feb 1 16:19:16 UTC 2022


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 <mprivozn at redhat.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list