On Fri, Jan 31, 2020 at 03:31:16PM +0100, Peter Krempa wrote:
Use g_new0 and skip checking of the return value of keyCopy callback
as both are bound to return a valid pointer.
Signed-off-by: Peter Krempa
---
src/util/virhash.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
Use g_new0 and skip checking of the return value of keyCopy callback
as both are bound to return a valid pointer.
Signed-off-by: Peter Krempa
---
src/util/virhash.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/util/virhash.c b/src/util/virhash.c
index