PeachCompiler
PeachCompiler copied to clipboard
Resource Leak in some function
In file compiler.c at function compile_file there is a resource and memory leak in case you are able to create a process but unable to create a lexer. In the function compile_process_create in file cprocess.c there is also a resource leak in case you able to open the input file but not the output file.
(those are the only two function i looked at by now. )
Thank you feel free to list the problems here for other students