提交 d5b9a4f3 编写于 作者: D Daniel Veillard

* src/xs_internal.c: Michel Ponceau pointed out a bug in

  xenStoreDomainGetNetworkID refactoring
Daniel
上级 2e5d3596
Tue Nov 21 18:05:33 CET 2006 Daniel Veillard <veillard@redhat.com>
* src/xs_internal.c: Michel Ponceau pointed out a bug in
xenStoreDomainGetNetworkID refactoring
Mon Nov 20 16:51:43 CET 2006 Daniel Veillard <veillard@redhat.com>
* src/xml.c src/xs_internal.c src/xs_internal.h: cleanup for the
......
......@@ -825,7 +825,7 @@ xenStoreDomainGetNetworkID(virConnectPtr conn, int id, const char *mac) {
if ((maclen != len) || memcmp(val, mac, len)) {
free(val);
} else {
ret = list[i];
ret = strdup(list[i]);
free(val);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册