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:
Mark McLoughlin 2007-03-05 12:34:27 +00:00
parent c69c850871
commit 7911e22ef7
2 changed files with 6 additions and 2 deletions

View File

@ -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: Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:
* libvirt.spec.in: BuildRequires: /sbin/iptables and * libvirt.spec.in: BuildRequires: /sbin/iptables and

View File

@ -432,7 +432,7 @@ int qemudDomainDumpXML(struct qemud_server *server, const unsigned char *uuid, c
strncpy(xml, vmxml, xmllen); strncpy(xml, vmxml, xmllen);
xml[xmllen-1] = '\0'; xml[xmllen-1] = '\0';
free(xml); free(vmxml);
return 0; return 0;
} }
@ -743,7 +743,7 @@ int qemudNetworkDumpXML(struct qemud_server *server, const unsigned char *uuid,
strncpy(xml, networkxml, xmllen); strncpy(xml, networkxml, xmllen);
xml[xmllen-1] = '\0'; xml[xmllen-1] = '\0';
free(xml); free(networkxml);
return 0; return 0;
} }