]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virCapabilitiesHostNUMAUnref: Accept NULL
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Dec 2019 06:40:17 +0000 (07:40 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Dec 2019 13:28:48 +0000 (14:28 +0100)
commit599f9c73d45369e2087be8ead53df8710d0f88dd
tree274f8cc87a331a84200fb9fd162bc3745f001b31
parent98f1f4a439e05b90ff68c430916e9ae6e6793f8b
virCapabilitiesHostNUMAUnref: Accept NULL

Fortunately, this is not causing any problems now because glib
does this check for us when calling this function via attribute
cleanup. But in a future commit we will explicitly call this
function over a struct member that might be NULL.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/conf/capabilities.c