[libvirt] [PATCH] Stop calling virAllocN directly from ESX code

Peter Krempa pkrempa at redhat.com
Tue Sep 3 16:26:07 UTC 2013


On 09/03/13 17:56, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The ESX code has a method esxVI_Alloc which would call
> virAllocN directly, instead of using the VIR_ALLOC_N
> macro. Remove this method and make the callers just
> use VIR_ALLOC as is normal practice.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/esx/esx_vi.c       | 25 ++++++++-----------------
>  src/esx/esx_vi.h       |  3 ---
>  src/esx/esx_vi_types.c | 11 +++++++----
>  3 files changed, 15 insertions(+), 24 deletions(-)
> 

ACK

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130903/6a9c9fa2/attachment-0001.sig>


More information about the libvir-list mailing list