]> xenbits.xensource.com Git - libvirt.git/commit
util: iscsi: use VIR_AUTOFREE instead of VIR_FREE for scalar types
authorSukrit Bhatnagar <skrtbhtngr@gmail.com>
Thu, 9 Aug 2018 04:12:09 +0000 (09:42 +0530)
committerErik Skultety <eskultet@redhat.com>
Mon, 13 Aug 2018 18:03:51 +0000 (20:03 +0200)
commitcbc1326b21d3997f217bff4b4a1fede7c81f66ff
treef18b3f91f927f73d0e6ad1f2c9a54906f60ebd23
parent34a6962c41b459f352fc0c3b69d36658b69a0f3a
util: iscsi: use VIR_AUTOFREE instead of VIR_FREE for scalar types

Add another usage for VIR_AUTOFREE macro which was left in the
commit ec3e878, thereby dropping a VIR_FREE call and and a cleanup
section.

Signed-off-by: Sukrit Bhatnagar <skrtbhtngr@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/util/viriscsi.c