libxl: use macro GCNEW in libxl_qmp.c
authorKelley Nielsen <kelleynnn@gmail.com>
Mon, 11 Nov 2013 10:27:54 +0000 (02:27 -0800)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 11 Nov 2013 12:16:50 +0000 (12:16 +0000)
commit362c286ddb7ab2a8f189b8d71da1ced7db556383
tree95d602ff0e2390dc8745f82af4c351a6e0b07e78
parentd5aa78056d9da638caf8800597e3292b41a59e24
libxl: use macro GCNEW in libxl_qmp.c

The new coding style uses the convenience macro GCNEW as declared in
libxl_internal.h. Substitute an invocation of this macro for its
body at the one place it occurs in libxl_qmp.c.

Suggested-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_qmp.c