alexfru / SmallerC

Simple C compiler
BSD 2-Clause "Simplified" License
1.35k stars 155 forks source link

Using cppcheck, found some memory leaks and resource leaks #32

Closed aleexmaftei closed 3 months ago

aleexmaftei commented 2 years ago

Even though the compiler is short living, preventing those leakages should be a good practice. I can fix them

image

alexfru commented 3 months ago

This change fixed some these leaks.