diff options
Diffstat (limited to 'generator.py')
-rwxr-xr-x | generator.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generator.py b/generator.py index 187c1e6..00c9aca 100755 --- a/generator.py +++ b/generator.py @@ -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]): |