]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virCommandSetSendBuffer: Take double pointer of @buffer
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Mar 2022 11:12:02 +0000 (12:12 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 1 Dec 2022 13:22:39 +0000 (14:22 +0100)
commit5c1b5f208a34a62fa9e560d4996d13cd5433214a
treec7900be29349ba8e2f923293cc9d2fc5733db4cc
parent5690c9594ef30167fecf6fb502c42808c090ff11
virCommandSetSendBuffer: Take double pointer of @buffer

The virCommandSetSendBuffer() function consumes passed @buffer,
but takes it only as plain pointer. Switch to a double pointer to
make this obvious. This allows us then to drop all
g_steal_pointer() in callers.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/qemu/qemu_tpm.c
src/util/vircommand.c
src/util/vircommand.h
tests/commandtest.c