]> xenbits.xensource.com Git - libvirt.git/commit
lib: Don't set variable to NULL after VIR_FREE()
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 28 Jan 2022 17:22:06 +0000 (18:22 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Feb 2022 16:37:06 +0000 (17:37 +0100)
commitce880ad8ba4894d1fee0df50aa37fca4142ae791
tree1e8953a771074a4f4754ef73f1d26bac0f146cd6
parent726b9616b297c36af5f97bcb1ce2788f194a9fe1
lib: Don't set variable to NULL after VIR_FREE()

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@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/conf/domain_conf.c
src/conf/nwfilter_conf.c
tests/virtypedparamtest.c