]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virhash: Fix the expectations of virHashKeyEqual implementations
authorPeter Krempa <pkrempa@redhat.com>
Fri, 31 Jan 2020 07:34:57 +0000 (08:34 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 4 Feb 2020 12:45:33 +0000 (13:45 +0100)
commit6cf3ec4428c6b3f3dae30286e50bb7396615cf56
treed257bce8a97da9ee679c90a26e378c3d286f00c1
parentd69470a18afa909a18f336e46a1817657b91635e
virhash: Fix the expectations of virHashKeyEqual implementations

Tweak the return value expectation comment so that it doesn't
necessarily require to allocate memory and refactor the implementations.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_addr.c
src/util/virhash.c
src/util/virhash.h