mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user