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

Michal Privoznik posted 4 patches 4 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1578471437.git.mprivozn@redhat.com
src/conf/virchrdev.c | 48 ++++++++++++++++----------------------------
1 file changed, 17 insertions(+), 31 deletions(-)
[libvirt] [PATCH 0/4] virchrdev: Couple of cleanups
Posted by Michal Privoznik 4 years, 3 months ago
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