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 <pkre...@redhat.com>
---
src/util/virhash.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to