mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
libxl: Properly dispose libxl_domain_config object
V2 of the libxl soft reset patch, which was pushed as commit da4b0fd9, dropped the hunk that disposed of the libxl_domain_config object. Add the missing hunk to properly dispose the object. Signed-off-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
da4b0fd9d3
commit
8496c17c53
@ -605,6 +605,7 @@ libxlDomainShutdownThread(void *opaque)
|
|||||||
virObjectEventStateQueue(driver->domainEventState, dom_event);
|
virObjectEventStateQueue(driver->domainEventState, dom_event);
|
||||||
libxl_event_free(cfg->ctx, ev);
|
libxl_event_free(cfg->ctx, ev);
|
||||||
VIR_FREE(shutdown_info);
|
VIR_FREE(shutdown_info);
|
||||||
|
libxl_domain_config_dispose(&d_config);
|
||||||
virObjectUnref(cfg);
|
virObjectUnref(cfg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user