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

xenStoreDomainGetNetworkID refactoring
Daniel
This commit is contained in:
Daniel Veillard 2006-11-21 17:55:34 +00:00
parent 2e5d35966e
commit d5b9a4f3b1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;
}