summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2008-05-21 20:18:20 +0000
committerDaniel P. Berrange <berrange@redhat.com>2008-05-21 20:18:20 +0000
commit5c0f23049c416c568ec622bc612c5e159eedb42d (patch)
tree76c8fa015536e32b539af4f4d241613e7800d983
parent6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a (diff)
downloadlibvirt-python-split-5c0f23049c416c568ec622bc612c5e159eedb42d.tar.gz
libvirt-python-split-5c0f23049c416c568ec622bc612c5e159eedb42d.tar.xz
libvirt-python-split-5c0f23049c416c568ec622bc612c5e159eedb42d.zip
Don't free C object after destroy method in python
-rwxr-xr-xgenerator.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/generator.py b/generator.py
index cb57bff..68a7203 100755
--- a/generator.py
+++ b/generator.py
@@ -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.