From: Rico Tzschichholz Date: Thu, 5 Apr 2018 18:25:51 +0000 (+0200) Subject: analyzer: Clean up collections for check_variables() after finished X-Git-Tag: 0.41.90~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a9765a364db053ee8d4487e1d9f27ce76f9737;p=thirdparty%2Fvala.git analyzer: Clean up collections for check_variables() after finished --- diff --git a/vala/valaflowanalyzer.vala b/vala/valaflowanalyzer.vala index 1fd580a46..7f362783e 100644 --- a/vala/valaflowanalyzer.vala +++ b/vala/valaflowanalyzer.vala @@ -90,6 +90,7 @@ public class Vala.FlowAnalyzer : CodeVisitor { private bool unreachable_reported; private List jump_stack = new ArrayList (); + // check_variables Map> var_map; Set used_vars; Map phi_functions; @@ -431,6 +432,10 @@ public class Vala.FlowAnalyzer : CodeVisitor { } } } + + phi_functions = null; + used_vars = null; + var_map = null; } void check_block_variables (BasicBlock block) {