mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com:
* qemud/driver.c: fix a couple of invalid free() calls
This commit is contained in:
parent
c69c850871
commit
7911e22ef7
@ -1,3 +1,7 @@
|
||||
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com:
|
||||
|
||||
* qemud/driver.c: fix a couple of invalid free() calls
|
||||
|
||||
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:
|
||||
|
||||
* libvirt.spec.in: BuildRequires: /sbin/iptables and
|
||||
|
@ -432,7 +432,7 @@ int qemudDomainDumpXML(struct qemud_server *server, const unsigned char *uuid, c
|
||||
strncpy(xml, vmxml, xmllen);
|
||||
xml[xmllen-1] = '\0';
|
||||
|
||||
free(xml);
|
||||
free(vmxml);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -743,7 +743,7 @@ int qemudNetworkDumpXML(struct qemud_server *server, const unsigned char *uuid,
|
||||
strncpy(xml, networkxml, xmllen);
|
||||
xml[xmllen-1] = '\0';
|
||||
|
||||
free(xml);
|
||||
free(networkxml);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user