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