diff --git a/ChangeLog b/ChangeLog index edabea2bd7..0fd68a20e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed May 21 15:42:29 EST 2008 Daniel P. Berrange + + * python/generator.py: Don't free the underlying virDomainPtr + object after the virDomainDestroy call. Same for virNetworkPtr + From Cole Robinson. + Wed May 21 15:42:29 EST 2008 Daniel P. Berrange * src/qemu_conf.c: Run qemu with -help and don't pollute diff --git a/python/generator.py b/python/generator.py index cb57bffdf3..68a7203ef9 100755 --- a/python/generator.py +++ b/python/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.