1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-29 19:41:52 +03:00

Fix crash after calling virConnectClose

This commit is contained in:
Daniel P. Berrange
2009-04-01 10:39:12 +00:00
parent 00ee94b777
commit 9e8c2f4b35

View File

@ -1072,6 +1072,9 @@ def buildWrappers():
n = n + 1
classes.write(")\n");
if name == "virConnectClose":
classes.write(" self._o = None\n")
# For functions returning object types:
if ret[0] != "void":
if classes_type.has_key(ret[0]):