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

Include directory names are not freed in LCC's cpp #361

Open
zturtleman opened this issue Apr 9, 2018 · 0 comments
Open

Include directory names are not freed in LCC's cpp #361

zturtleman opened this issue Apr 9, 2018 · 0 comments

Comments

@zturtleman
Copy link

zturtleman commented Apr 9, 2018

Include file paths (includelist[].file) are not freed in LCC's cpp. Current LCC just points to the argv[] (optarg) and doesn't add #include paths to the includelist[] in doinclude() so it doesn't need to free them.

code/tools/lcc/cpp/unix.c
code/tools/lcc/cpp/include.c

Reported in #192.

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

1 participant