qemu_tpm.c: fix 'shortName' leak
qemu_tpm.c: fix 'shortName' leak

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 <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>
Reviewed-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Signed-off-by: Daniel Henrique Barboza <627b089ad62deae9aaf06ccfa2c9056df28927e0@gmail.com>

libvirt/libvirt,olafhering/libvirt,jfehlig/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,crobinso/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,olafhering/libvirt,olafhering/libvirt,crobinso/libvirt,crobinso/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,nertpinx/libvirt,jfehlig/libvirt,libvirt/libvirt,jfehlig/libvirt,zippy2/libvirt,zippy2/libvirt