Fixed memory leak due to circular reference (incorrect behaviour) in symbol table.