[libvirt] [PATCH] cpu_x86: Fix memory leak in virCPUx86Translate
Peter Krempa
pkrempa at redhat.com
Thu Feb 9 10:57:18 UTC 2017
On Thu, Feb 09, 2017 at 09:41:37 +0100, Jiri Denemark wrote:
> virCPUDefStealModel is called with keepVendor == true which means the
> cpu structure will keep its original vendor/vendor_id values. Thus it
> makes no sense to copy them to the translated definition as they won't
> be used there anyway. Except that the translated->vendor pointer might
> get lost in x86Decode.
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> src/cpu/cpu_x86.c | 4 ----
> 1 file changed, 4 deletions(-)
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170209/b647e205/attachment-0001.sig>
More information about the libvir-list
mailing list