Don't free C object after destroy method in python

This commit is contained in:
Daniel P. Berrange
2008-05-21 20:18:20 +00:00
parent 3af422a82e
commit 922fbeb8b7
2 changed files with 7 additions and 6 deletions

View File

@@ -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.