Commit b1d1dd97 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix memory management when using lambda expressions

2007-09-16  Juerg Billeter  <j@bitron.ch>

	* vala/valamemorymanager.vala: fix memory management when using lambda
	  expressions

svn path=/trunk/; revision=610
parent 420527fb
2007-09-16 Jürg Billeter <j@bitron.ch>
* vala/valamemorymanager.vala: fix memory management when using lambda
expressions
2007-09-15 Jürg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/valamemberinitializer.vala,
......
......@@ -91,9 +91,12 @@ public class Vala.MemoryManager : CodeVisitor {
}
public override void visit_method (Method! m) {
var old_symbol = current_symbol;
current_symbol = m;
m.accept_children (this);
current_symbol = old_symbol;
}
public override void visit_creation_method (CreationMethod! m) {
......
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