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

Re: [libvirt] [PATCH] Don't call VIR_ALLOC on def->uuid in parallels storage driver



On 09/03/13 17:42, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> The 'uuid' field in virDomainDefPtr is not a pointer, it is a
> fixed length array. Calling VIR_ALLOC on it is thus wrong and
> leaks memory.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/parallels/parallels_storage.c | 3 ---
>  1 file changed, 3 deletions(-)
> 

ACK.

Peter


Attachment: signature.asc
Description: OpenPGP digital signature


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