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:
parent
3af422a82e
commit
922fbeb8b7
@ -1,3 +1,9 @@
|
|||||||
|
Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* 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 <berrange@redhat.com>
|
Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/qemu_conf.c: Run qemu with -help and don't pollute
|
* src/qemu_conf.c: Run qemu with -help and don't pollute
|
||||||
|
@ -628,12 +628,7 @@ function_classes = {}
|
|||||||
|
|
||||||
function_classes["None"] = []
|
function_classes["None"] = []
|
||||||
|
|
||||||
function_post = {
|
function_post = {}
|
||||||
'virDomainDestroy': "self._o = None",
|
|
||||||
'virNetworkDestroy': "self._o = None",
|
|
||||||
'virStoragePoolDestroy': "self._o = None",
|
|
||||||
'virStorageVolDestroy': "self._o = None",
|
|
||||||
}
|
|
||||||
|
|
||||||
# Functions returning an integral type which need special rules to
|
# Functions returning an integral type which need special rules to
|
||||||
# check for errors and raise exceptions.
|
# check for errors and raise exceptions.
|
||||||
|
Loading…
Reference in New Issue
Block a user