Browse Source

* do_member_read() takes ownership of the specialization context, so Nil it after the call

git-svn-id: trunk@39559 -
svenbarth 7 years ago
parent
commit
0aee319fdb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/pexpr.pas

+ 1 - 0
compiler/pexpr.pas

@@ -4119,6 +4119,7 @@ implementation
                   internalerror(2015092703);
               end;
               do_member_read(structdef,getaddr,gensym,result,again,[],spezcontext);
+              spezcontext:=nil;
             end
           else
             begin