Commit 5a485fa0 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

fix memory leak in cast expressions

2007-07-27  Juerg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: fix memory leak in cast expressions

svn path=/trunk/; revision=400
parent 0b4d9baf
2007-07-27 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix memory leak in cast expressions
2007-07-27 Jürg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
......
......@@ -1873,6 +1873,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
}
expr.static_type = expr.type_reference;
expr.static_type.transfers_ownership = expr.inner.static_type.transfers_ownership;
}
public override void visit_pointer_indirection (PointerIndirection! expr) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment