[PATCH 0/2] Use g_autofree instead of VIR_FREE

Karim Taha posted 2 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20240317141851.227873-1-kariem.taha2.7@gmail.com
src/node_device/node_device_driver.c |  4 +---
src/openvz/openvz_driver.c           | 15 ++++-----------
2 files changed, 5 insertions(+), 14 deletions(-)
[PATCH 0/2] Use g_autofree instead of VIR_FREE
Posted by Karim Taha 1 month, 1 week ago
Substiute VIR_FREE with g_autofree annotations in openvz_driver.c and
node_device_driver.c, whenever possbile. 

The remaining instances cannot be changed, they 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(-)

-- 
2.44.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org