mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 03:21:19 +00:00
* src/xs_internal.c: Michel Ponceau pointed out a bug in
xenStoreDomainGetNetworkID refactoring Daniel
This commit is contained in:
parent
2e5d35966e
commit
d5b9a4f3b1
@ -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>
|
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
|
* 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)) {
|
if ((maclen != len) || memcmp(val, mac, len)) {
|
||||||
free(val);
|
free(val);
|
||||||
} else {
|
} else {
|
||||||
ret = list[i];
|
ret = strdup(list[i]);
|
||||||
free(val);
|
free(val);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user