[libvirt] [PATCH 0/4] virchrdev: Couple of cleanups

Michal Privoznik mprivozn at redhat.com
Wed Jan 8 08:18:27 UTC 2020


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




More information about the libvir-list mailing list