summaryrefslogtreecommitdiff
path: root/vala/valaparser.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-12-14 10:23:14 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-12-14 10:26:31 +0100
commit2dc47785171f8f62f7f017939681e0d5cf3e9847 (patch)
tree856f77592560ac46fb3d7be29c66353778b90531 /vala/valaparser.vala
parent0c05b6e39d2a1f10cdd3f155c85d39f7a563080b (diff)
downloadvala-2dc47785171f8f62f7f017939681e0d5cf3e9847.tar.gz
Release taken references to CodeContext after using it
https://bugzilla.gnome.org/show_bug.cgi?id=712694
Diffstat (limited to 'vala/valaparser.vala')
-rw-r--r--vala/valaparser.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valaparser.vala b/vala/valaparser.vala
index ec5e34e82..6228ba98e 100644
--- a/vala/valaparser.vala
+++ b/vala/valaparser.vala
@@ -76,6 +76,7 @@ public class Vala.Parser : CodeVisitor {
public void parse (CodeContext context) {
this.context = context;
context.accept (this);
+ this.context = null;
}
public override void visit_source_file (SourceFile source_file) {