mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Don't free C object after destroy method in python
This commit is contained in:
@@ -628,12 +628,7 @@ function_classes = {}
|
||||
|
||||
function_classes["None"] = []
|
||||
|
||||
function_post = {
|
||||
'virDomainDestroy': "self._o = None",
|
||||
'virNetworkDestroy': "self._o = None",
|
||||
'virStoragePoolDestroy': "self._o = None",
|
||||
'virStorageVolDestroy': "self._o = None",
|
||||
}
|
||||
function_post = {}
|
||||
|
||||
# Functions returning an integral type which need special rules to
|
||||
# check for errors and raise exceptions.
|
||||
|
||||
Reference in New Issue
Block a user