[Libvirt-cim] [PATCH 0/3] Port libxkutil helpers to make use of list implementation

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Tue Jun 19 15:35:37 UTC 2012


From: "Eduardo Lima (Etrunko)" <eblima at br.ibm.com>

This series include a fix to the list code which was leaking the list pointer
in the case where it was empty. Also ports the acl and pool libxkutil helpers
to make use of the list implementation. Resulting in much cleaner and smaller 
code.

Eduardo Lima (Etrunko) (3):
  list_util: Fix possible memory leak
  ACL: Port filter rules to use list implementation
  Make pool device paths use linked list implementation

 libxkutil/acl_parsing.c                     |   71 ++++++---------------------
 libxkutil/acl_parsing.h                     |    5 +-
 libxkutil/list_util.c                       |    6 ++-
 libxkutil/pool_parsing.c                    |   27 +++-------
 libxkutil/pool_parsing.h                    |    4 +-
 libxkutil/xmlgen.c                          |   29 ++++++-----
 src/Virt_EntriesInFilterList.c              |   49 +++++++++---------
 src/Virt_FilterEntry.c                      |   35 +++++--------
 src/Virt_NestedFilterList.c                 |    3 --
 src/Virt_ResourcePoolConfigurationService.c |   28 ++++-------
 10 files changed, 96 insertions(+), 161 deletions(-)

-- 
1.7.10.4




More information about the Libvirt-cim mailing list