]> xenbits.xensource.com Git - libvirt.git/commit
qemu: rename virFirmware*Free() functions to have more accurate names
authorLaine Stump <laine@redhat.com>
Wed, 3 Feb 2021 21:07:59 +0000 (16:07 -0500)
committerLaine Stump <laine@redhat.com>
Fri, 5 Feb 2021 05:20:45 +0000 (00:20 -0500)
commite1b02e3a56eba1377790dd344115439834a3e939
tree9dfbe4cff5df33ce8ec525cc8219aaadf8f53894
parent8626fb378cc009757bbad7c9ef46b90dd5221dfe
qemu: rename virFirmware*Free() functions to have more accurate names

Several functions had the names virFirmware[something]Free(), but they
aren't taking a pointer to some object and freeing it. Instead, they
are making a copy of the content of an entire object, then Freeing the
objects pointed to by that content.

As a first step in a too-complicated cleanup just to eliminate a few
occurrences of VIR_FREE(), this patch renames those functions to more
accurately reflect what they do - they Free the *Content* of their
arguments.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_firmware.c