Re: log4cxx 0.9.7: Fix for memory leaks and crashes in x86_64 builds

2014-11-21 Thread xunile
RUOFF, LARS (LARS) wrote: Hi, For those who like I are stuck with log4cxx v0.9.7 and have experienced memory leaks and crashes in x86_64 (64bit) builds on Linux, Here is a small fix: (Base is 0.9.7) src\thread.cpp: @@ -201,6 +201,14 @@ : "0" (1), "m" (*val));

log4cxx 0.9.7: Fix for memory leak in gnomexml.cpp when parsing configuration file (Linux)

2014-11-21 Thread RUOFF, LARS (LARS)
Hi, FYI, another memory leak we found in log4cxx 0.9.7 (this is an old version!): During parsing, allocated XML attributes are not freed again. Detected with valgrind/memcheck analysis. Here's a fix: (Base is 0.9.7) \src\gnomexml.cpp: @@ -126,6 +126,7 @@ if (att