]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: add virCgroupFree to the list of free-like functions
authorJim Meyering <meyering@redhat.com>
Mon, 17 May 2010 17:38:35 +0000 (19:38 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 May 2010 05:53:42 +0000 (07:53 +0200)
This makes the useless-if-before-free test in maint.mk spot
uses of virCgroupFree just like it does for free and the other
listed functions.
* cfg.mk (useless_free_options): Add virCgroupFree.
Prompted by suggestion from Eric Blake.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 7773d065fe1df56eb628d79fb23838f55b5cc188..0b281a546661e8868121291bff11f3f41c4ec46d 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -66,6 +66,7 @@ local-checks-to-skip =                        \
 
 useless_free_options =         \
   --name=sexpr_free            \
+  --name=virCgroupFree         \
   --name=VIR_FREE              \
   --name=xmlFree               \
   --name=xmlXPathFreeContext   \