1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-22 19:34:08 +03:00

Fix crash after calling virConnectClose

This commit is contained in:
Daniel P. Berrange
2009-04-01 10:39:12 +00:00
parent 61243e0f57
commit 10467f1c5b
2 changed files with 8 additions and 0 deletions

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]):