libxl_json: Use libxl alloc function.
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 5 Oct 2012 13:34:30 +0000 (14:34 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Fri, 5 Oct 2012 13:34:30 +0000 (14:34 +0100)
commit7bb7e581a4b8f3e22bf7de6826bfa705f8f7cfaf
treef1307f7c06621e1ec489ed9b9cd357021a1582d9
parent5fe37ba9c6b6658ed7980f81f8374acd6e2f3bbd
libxl_json: Use libxl alloc function.

This patch makes use of the libxl allocation API and the GC and removes the
check for allocation failure.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_json.c
tools/libxl/libxl_qmp.c