Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out why AST nodes can't be freed #3

Open
incrediblesound opened this issue Jun 21, 2016 · 1 comment
Open

Figure out why AST nodes can't be freed #3

incrediblesound opened this issue Jun 21, 2016 · 1 comment

Comments

@incrediblesound
Copy link
Member

For some reason freeing an AST node causes a segfault. This may be because they reference other pointers that need to be freed or because there is corruption happening somewhere.

@TheLoneWolfling
Copy link
Collaborator

The content of AST nodes are referenced all over the place.

We'd need to do defensive copies of AST node content in order to be able to free them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants