[PATCH 0/6] Fix several obvious memory leaks

Jason A. Donenfeld Jason at zx2c4.com
Tue Mar 5 01:53:17 CET 2013


On Mon, Mar 4, 2013 at 7:25 AM, Lukas Fleischer <cgit at cryptocrack.de> wrote:
> This is far from complete but fixes a couple of obvious memory leaks
> seen when running `PATH_INFO=/cgit/[...]/ ./cgit` using valgrind.

I'm putting these in the lf/memleak branch for now. It's important
that I spend a bit of time checking these carefully, because the big
risk we take with free(3)ing with a sledge-hammer is that we introduce
use-after-frees.




More information about the CGit mailing list