Savarese.Org

ClearSilver 0.10.5 Memory Leak Patch


Patch icon

Even though this patch is for ClearSilver 0.10.5, it fixes a small memory leak that has been present at least as far back as 0.10.3. It's another one-liner fixing a problem that “resource acquisition is initialization” prevents in C++ (assuming you implement your destructors properly of course).

Patch FileComment
clearsilver-0.10.5-cgi.c.memory_leak.patch This patch is a one-liner freeing memory that is not released by cgi_neo_err in cgi/cgi.c.