Patches 1/4 and 2/4 fix some memleaks, the rest cleans up the code a
bit.

Michal Prívozník (4):
  virchrdev: Don't leak @dev member of virChrdevHashEntry struct
  virchrdev: Don't leak mutex if virChrdevAlloc() fails
  virchrdev: Use more g_autofree and VIR_AUTOCLOSE
  virchrdev: Drop needless 'cleanup' label in virChrdevLockFileCreate()

 src/conf/virchrdev.c | 48 ++++++++++++++++----------------------------
 1 file changed, 17 insertions(+), 31 deletions(-)

-- 
2.24.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to