summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-05-05 22:58:09 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-05-05 22:58:09 +0200
commitdf3656df4d9b9ae79a176808a787ece778463ccc (patch)
tree2a73cfe337b69ecde10fb490d0931f0ce9976396 /bindings
parentec23b2345515e4bbf91f07477950fd89f4ba71b6 (diff)
downloadlasso-df3656df4d9b9ae79a176808a787ece778463ccc.tar.gz
lasso-df3656df4d9b9ae79a176808a787ece778463ccc.tar.xz
lasso-df3656df4d9b9ae79a176808a787ece778463ccc.zip
[bindings/python] boolean values does not need to be released
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/lang.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py
index 67c0cf91..041a791f 100644
--- a/bindings/python/lang.py
+++ b/bindings/python/lang.py
@@ -73,8 +73,8 @@ class Binding:
if not name:
raise Exception('Cannot free, missing a name')
if is_cstring(type):
- print >>fd, ' lasso_release_string(%s);' % name
- elif is_int(type, self.binding_data):
+ print >>fd, ' lasso_release_string(%s);' % name
+ elif is_int(type, self.binding_data) or is_boolean(type):
pass
elif is_xml_node(type):
print >>fd, ' lasso_release_xml_node(%s);' % name