summaryrefslogtreecommitdiff
path: root/vala/valatemplate.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-10-11 20:31:20 +0200
committerJürg Billeter <j@bitron.ch>2009-10-11 20:31:20 +0200
commit3a33bd2b825554363c52a478cf5e55f741b65537 (patch)
treed8badefb8c7800a892501c6e619a1a8714b06af0 /vala/valatemplate.vala
parentc3b0ebf98b42ce26c777be9d52447454cea9a4a2 (diff)
downloadvala-3a33bd2b825554363c52a478cf5e55f741b65537.tar.gz
Fix memory management of string templates
Diffstat (limited to 'vala/valatemplate.vala')
-rw-r--r--vala/valatemplate.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valatemplate.vala b/vala/valatemplate.vala
index e1b4085c0..feb586d4b 100644
--- a/vala/valatemplate.vala
+++ b/vala/valatemplate.vala
@@ -69,6 +69,7 @@ public class Vala.Template : Expression {
expr = concat;
}
}
+ expr.target_type = target_type;
analyzer.replaced_nodes.add (this);
parent_node.replace_expression (this, expr);