[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xl: Call xlu_cfg_destroy in the pciattach and pcidetach
# HG changeset patch # User George Dunlap <george.dunlap@xxxxxxxxxxxxx> # Date 1336754063 -3600 # Node ID 83f16dfd5f077b5b8242f4f9bf5b4301ff27b8e1 # Parent 71c6cca6b4b6ae6332269dbfdb093bb973532bfd xl: Call xlu_cfg_destroy in the pciattach and pcidetach Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson.citrix.com> --- diff -r 71c6cca6b4b6 -r 83f16dfd5f07 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri May 11 17:34:23 2012 +0100 +++ b/tools/libxl/xl_cmdimpl.c Fri May 11 17:34:23 2012 +0100 @@ -2298,7 +2298,9 @@ static void pcidetach(const char *dom, c libxl_device_pci_destroy(ctx, domid, &pcidev); else libxl_device_pci_remove(ctx, domid, &pcidev); + libxl_device_pci_dispose(&pcidev); + xlu_cfg_destroy(config); } int main_pcidetach(int argc, char **argv) @@ -2340,7 +2342,9 @@ static void pciattach(const char *dom, c exit(2); } libxl_device_pci_add(ctx, domid, &pcidev); + libxl_device_pci_dispose(&pcidev); + xlu_cfg_destroy(config); } int main_pciattach(int argc, char **argv) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |