On Mon, Nov 16, 2020 at 13:23:36 -0300, Daniel Henrique Barboza wrote: s/qemu_tmp/qemu_tpm/ in summary. > This is a Coverity fix pointed out by John in IRC. This code > was introduced in 19d74fdf0eb, when the TPM Proxy device for > for ppc64 was introduced. > > This will leak in case we have 2 TPMs in the same domain, a > possible scenario with the protected Ultravisor execution in > PowerPC guests. > > Fixes: 19d74fdf0eb5d2e89e80ceedea736425160ffccb > Reported-by: John Ferlan <jferlan@xxxxxxxxxx> > Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx> > --- Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>