rui314 / 8cc

A Small C Compiler
MIT License
6.12k stars 742 forks source link

memory leak at vformat function. #89

Closed sidgwick closed 7 years ago

sidgwick commented 7 years ago

Why not free Buffer pointer b at buffer.c#L75?

Is this a memory leak bug?

rui314 commented 7 years ago

We do not free memory at all. See https://github.com/rui314/8cc/blob/master/HACKING.md.