]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix memory management of string templates
authorJürg Billeter <j@bitron.ch>
Sun, 11 Oct 2009 18:31:20 +0000 (20:31 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 11 Oct 2009 18:31:20 +0000 (20:31 +0200)
vala/valatemplate.vala

index e1b4085c0222c7e0816e1965b537808585ee3cae..feb586d4b190b46ddd99fe5998f1e02a539c45a2 100644 (file)
@@ -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);