Browse Source

Fix memory leak.

test
Michael Uleysky 9 years ago
parent
commit
68283153a9
  1. 2
      src/parser/grammatical.y

2
src/parser/grammatical.y

@ -103,7 +103,7 @@ list:
; ;
pair: pair:
IDENTIFIER ASSIGN object {COUT(DEBUG)<<" IDENTIFIER ASSIGN object\n"; $$=new ObjectPair($1,$3);} IDENTIFIER ASSIGN object {COUT(DEBUG)<<" IDENTIFIER ASSIGN object\n"; $$=new ObjectPair($1,$3); delete $1;}
; ;
object: object:

Loading…
Cancel
Save