
19 Mar
2024
19 Mar
'24
9:28 a.m.
On 3/17/24 16:19, Karim Taha wrote:
Substitute VIR_FREE with g_autofree annotations in openvz_driver.c and node_device_driver.c whenever possible.
The remaining instances of VIR_FREE are used to free return values in case of error.
Kariiem (2): openvz_driver: use g_autofree instead of VIR_FREE in openvz_driver.c node_device: use g_autofree instead of VIR_FREE in node_device_driver.c
src/node_device/node_device_driver.c | 4 +--- src/openvz/openvz_driver.c | 15 ++++----------- 2 files changed, 5 insertions(+), 14 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> and merged. Congratulations on your first libvirt contribution! Michal