summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2008-11-19 15:25:24 +0000
committerDaniel P. Berrange <berrange@redhat.com>2008-11-19 15:25:24 +0000
commit5b5ef1a97d284bbac288ed56e6c79459df3c1200 (patch)
tree96617e86cf436c5ca9324463775c77cda26939c7
parenteaff6be2d81c7397e8acfe5994ebe28c1003da67 (diff)
downloadlibvirt-python-split-5b5ef1a97d284bbac288ed56e6c79459df3c1200.tar.gz
libvirt-python-split-5b5ef1a97d284bbac288ed56e6c79459df3c1200.tar.xz
libvirt-python-split-5b5ef1a97d284bbac288ed56e6c79459df3c1200.zip
Add a virFreeCallback to virDomainEventRegister (from David Lively)
-rw-r--r--libvir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvir.c b/libvir.c
index 96ccb28..3888af5 100644
--- a/libvir.c
+++ b/libvir.c
@@ -1651,7 +1651,7 @@ libvirt_virConnectDomainEventRegister(ATTRIBUTE_UNUSED PyObject * self,
ret = virConnectDomainEventRegister(conn,
libvirt_virConnectDomainEventCallback,
- (void *)pyobj_conn_inst);
+ (void *)pyobj_conn_inst, NULL);
LIBVIRT_END_ALLOW_THREADS;