]> xenbits.xensource.com Git - libvirt.git/commit
esx: switch VIR_FREE->g_free when the pointer will immediately go out of scope
authorLaine Stump <laine@redhat.com>
Fri, 12 Feb 2021 19:48:09 +0000 (14:48 -0500)
committerLaine Stump <laine@redhat.com>
Tue, 16 Feb 2021 18:50:05 +0000 (13:50 -0500)
commitd6e357c47cb9b02f7f867d31a94d1066dfbdfb27
tree1b22da178e2af7c1d7e77a770a3bfa1d7de03de0
parent0a69fa61cdfcc3942548d1b13aae3c5e5870e5bb
esx: switch VIR_FREE->g_free when the pointer will immediately go out of scope

Or when it will be immediately have a new value assigned to it.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/esx/esx_driver.c
src/esx/esx_network_driver.c
src/esx/esx_storage_backend_iscsi.c
src/esx/esx_storage_backend_vmfs.c
src/esx/esx_util.c
src/esx/esx_vi.c