PeachCompiler icon indicating copy to clipboard operation
PeachCompiler copied to clipboard

Resource Leak in some function

Open assism opened this issue 1 year ago • 1 comments

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. )

assism avatar May 07 '24 11:05 assism

Thank you feel free to list the problems here for other students

nibblebits avatar May 15 '24 11:05 nibblebits