Christophe de                                                 
             VIENNE                                                        
             <[EMAIL PROTECTED]                                          To 
             ent.com>                  Log4CXX User                        
                                       <[email protected]>   
             07/27/2004 09:29                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: Memory Leaks in Log4cxx         
             Please respond to                                             
              "Log4CXX User"                                               
             <[EMAIL PROTECTED]                                             
             ging.apache.org>                                              
                                                                           
                                                                           












>This is for the glibc version of those functions thought. If their win32
>equivalent return dynamically allocated memory, then the code needs to
>be patched to free the memory.

I don't think windows version is different from unix one.
Multihreaded version of the library allocates the memory needed for the
structure once per each thread.


Hemant, try to run attached example. You should get dumps only at the end
of program, not inside the loop.

(See attached file: chkpoint.cpp)

Attachment: chkpoint.cpp
Description: Binary data

Reply via email to