]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: rename virStorageEncryptionInfoDefFree()
authorLaine Stump <laine@redhat.com>
Fri, 29 Jan 2021 05:12:28 +0000 (00:12 -0500)
committerLaine Stump <laine@redhat.com>
Tue, 2 Feb 2021 05:27:58 +0000 (00:27 -0500)
commit45b2912c71e417b284f98c961329ce59d77f791e
tree41c5d4c28ee6d461c02b338684d8f1bf3f3f056c
parent2adfd26ec92875c853153510ea8edefa7210fe09
util: rename virStorageEncryptionInfoDefFree()

usually a function call vir*Free() will take a single pointer to an
object as its argument, and will then free all resources associated
with that object, including the object
itself. virStorageEnctyptionInfoDefFree() doesn't do that - it frees
all the subordinate resources of the ojbect, but doesn't free the
object itself; usually a function like that is called
vir*Clear(). Let's rename this function to not be misleading.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/storage_encryption_conf.c