aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_utils.c
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-06-28 18:43:25 +0100
committerIan Jackson <ian.jackson@eu.citrix.com>2012-06-28 18:43:25 +0100
commit5e07d8709811cd22f7cebd68f00c9d0774b323c4 (patch)
tree46d98886a8aefbfd1e65cf46cfa6a56e8c079646 /tools/libxl/libxl_utils.c
parent9cf80c44793b84e2e7fdd0f10e8ce15ec2c43126 (diff)
downloadxen-5e07d8709811cd22f7cebd68f00c9d0774b323c4.tar.gz
xen-5e07d8709811cd22f7cebd68f00c9d0774b323c4.tar.bz2
xen-5e07d8709811cd22f7cebd68f00c9d0774b323c4.zip
libxl: Add a gc to libxl_get_cpu_topology
In the next-but-one patch we are going to change the definition of NOGC to require a local variable libxl__gc *gc. libxl_get_cpu_topology doesn't have one but does use NOGC. Fix this by: - introducing an `out' label - replacing the only call to `return' with a suitable assignment to ret and a `goto out'. - adding uses of GC_INIT and GC_FREE. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_utils.c')
0 files changed, 0 insertions, 0 deletions