[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] cpu_x86: Fix memory leak in virCPUx86Translate



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 redhat com>
> ---
>  src/cpu/cpu_x86.c | 4 ----
>  1 file changed, 4 deletions(-)

ACK

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]