summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-21 18:14:09 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-21 18:14:09 +0200
commita96e09f20eb9e9a8fb33a22b17b1b2d72c96d734 (patch)
tree953ab9245403cab79b514585df3435f1465d4aab /build-aux
parent0c30e9c27b82cb9c136afe3194ac01bb90b37e28 (diff)
mbim-codegen: fix generation of struct _free() methods
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/mbim-codegen/Struct.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/mbim-codegen/Struct.py b/build-aux/mbim-codegen/Struct.py
index 325676f..a6568c3 100644
--- a/build-aux/mbim-codegen/Struct.py
+++ b/build-aux/mbim-codegen/Struct.py
@@ -234,8 +234,9 @@ class Struct:
'void\n'
'${name_underscore}_free (${name} *var)\n'
'{\n'
- ' _${name_underscore}_free (var)\n'
+ ' _${name_underscore}_free (var);\n'
'}\n')
+ cfile.write(string.Template(template).substitute(translations))
if self.array_member:
template = (