Re: [libvirt] [PATCH RFC 01/40] util: hash: Add possibility to use simpler data free function in virHash

2019-10-22 Thread Peter Krempa
On Fri, Oct 18, 2019 at 13:22:56 -0500, Eric Blake wrote: > On 10/18/19 11:10 AM, Peter Krempa wrote: > > Introduce a new type virHashDataFreeSimple which has only a void * as > > argument for cases when knowing the name of the entry when freeing the > > hash entry is not required. > > > > Signed-

Re: [libvirt] [PATCH RFC 01/40] util: hash: Add possibility to use simpler data free function in virHash

2019-10-18 Thread Eric Blake
On 10/18/19 11:10 AM, Peter Krempa wrote: Introduce a new type virHashDataFreeSimple which has only a void * as argument for cases when knowing the name of the entry when freeing the hash entry is not required. Signed-off-by: Peter Krempa --- src/conf/domain_addr.c | 4 ++-- src/util/vircgr

[libvirt] [PATCH RFC 01/40] util: hash: Add possibility to use simpler data free function in virHash

2019-10-18 Thread Peter Krempa
Introduce a new type virHashDataFreeSimple which has only a void * as argument for cases when knowing the name of the entry when freeing the hash entry is not required. Signed-off-by: Peter Krempa --- src/conf/domain_addr.c | 4 ++-- src/util/vircgroup.c | 2 +- src/util/virhash.c | 15 +