mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
libxl: idl: use "dispose" rather than "destroy" for function to free IDL types
Destroy is an overloaded term which would commonly like to be used for actual destructive operations, such as destroying a domain etc. Dispose isn't a great term but it does the job. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
This commit is contained in:
1 parent
1d2a876665
commit
9dcc52ddb6
13 files changed
+95
-95
No files matched your search
@@ -246,7 +246,7 @@ int attrib__libxl_hwcap_set(PyObject *v, libxl_hwcap *pptr)
|
||||
int attrib__libxl_key_value_list_set(PyObject *v, libxl_key_value_list *pptr)
|
||||
{
|
||||
if ( *pptr ) {
|
||||
libxl_key_value_list_destroy(pptr);
|
||||
libxl_key_value_list_dispose(pptr);
|
||||
*pptr = NULL;
|
||||
}
|
||||
if ( v == Py_None )
|
||||
|
||||