]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainCleanupRemove: s/memmove/VIR_DELETE_ELEMENT_INPLACE/
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Oct 2013 17:07:42 +0000 (19:07 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 17 Oct 2013 13:24:05 +0000 (15:24 +0200)
commitac5f3f292b949ba46a16dbbb40786456e2be3d3a
treed55802daccb8b2f85d41a48b176c94b052fe9cb1
parentaa0f09929d02ccdbf3ca9502a1fd39d90db0c690
qemuDomainCleanupRemove: s/memmove/VIR_DELETE_ELEMENT_INPLACE/

The last argument of memmove is the amount of bytes to be moved. The
amount is in Bytes. We are moving some void pointers around. However,
since sizeof(void *) is not Byte on any architecture, we've got the
arithmetic wrong.
src/qemu/qemu_domain.c