Re: [libvirt PATCH 0/4] qemu: tpm: use g_auto

2020-02-03 Thread Ján Tomko
On Mon, Feb 03, 2020 at 09:12:57AM +0100, Peter Krempa wrote: On Sun, Feb 02, 2020 at 21:01:43 +0100, Ján Tomko wrote: Ján Tomko (4): qemu: tpm: remove unused pidfile variable qemu: tpm: use g_autofree qemu: tpm: use g_autoptr where applicable I don't understand why we split g_autofree a

Re: [libvirt PATCH 0/4] qemu: tpm: use g_auto

2020-02-03 Thread Peter Krempa
On Sun, Feb 02, 2020 at 21:01:43 +0100, Ján Tomko wrote: > Ján Tomko (4): > qemu: tpm: remove unused pidfile variable > qemu: tpm: use g_autofree > qemu: tpm: use g_autoptr where applicable I don't understand why we split g_autofree and g_autoptr. Specifically as g_autoptr patches usually co

[libvirt PATCH 0/4] qemu: tpm: use g_auto

2020-02-02 Thread Ján Tomko
Ján Tomko (4): qemu: tpm: remove unused pidfile variable qemu: tpm: use g_autofree qemu: tpm: use g_autoptr where applicable qemu: tpm: remove unused labels src/qemu/qemu_tpm.c | 130 +++- 1 file changed, 44 insertions(+), 86 deletions(-) -- 2.19.