as raised by Takahashi Tomohiro
daniel
+Wed Apr 15 11:52:15 CEST 2009 Daniel Veillard <veillard@redhat.com>
+
+ * src/xm_internal.c: fix a crash on vcpupin to inactive Xen domains,
+ as raised by Takahashi Tomohiro
+
Wed Apr 15 11:33:33 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/lxc_driver.c: adds the getHostname method to the lxc driver
const char *filename;
xenXMConfCachePtr entry;
virBuffer mapbuf = VIR_BUFFER_INITIALIZER;
- char *mapstr = NULL;
+ char *mapstr = NULL, *mapsave = NULL;
int i, j, n, comma = 0;
int ret = -1;
char *cpuset = NULL;
}
mapstr = virBufferContentAndReset(&mapbuf);
+ mapsave = mapstr;
if (VIR_ALLOC_N(cpuset, maxcpu) < 0) {
virReportOOMError(domain->conn);
ret = 0;
cleanup:
- VIR_FREE(mapstr);
+ VIR_FREE(mapsave);
VIR_FREE(cpuset);
xenUnifiedUnlock(priv);
return (ret);