[libvirt] [PATCH 12/12] maint: add virObjectUnlock to useless_free_options

Roman Bogorodskiy bogorodskiy at gmail.com
Mon May 19 18:27:41 UTC 2014


Add virObjectUnlock() to a list of functions
checking argument for NULL is useless for
---
 cfg.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cfg.mk b/cfg.mk
index 5ff2721..3ac67a8 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -163,6 +163,7 @@ useless_free_options =				\
   --name=virNetworkObjFree			\
   --name=virNodeDeviceDefFree			\
   --name=virNodeDeviceObjFree			\
+  --name=virObjectUnlock                        \
   --name=virObjectUnref                         \
   --name=virObjectFreeCallback                  \
   --name=virPCIDeviceFree                       \
-- 
1.9.0




More information about the libvir-list mailing list