On 21.06.2013 15:48, Ivan Zhakov wrote: > On Fri, Jun 21, 2013 at 4:48 PM, <kai-uwe.schie...@hydrometer.de> wrote: >> Please add me to the answer list, cause I am not subscribed. >> >> >> I am using the Binary Package of Subversion library Version 1.7.9 in my >> software. >> Everything works fine so far but a little memory leak I detected in my >> tests. I am not shure if I use everything as I should. Maybe you can help >> me. >> >> >> I reduced the usage of the lib to the following: >> >> Code start: >> >> while(true) >> { >> apr_initialize(); >> apr_pool_initialize(); > AFAIK it's not allowed to call apr_initialize() more than once per process.
As a matter of fact, apr_initialize/apr_terminate maintain a counter of the number of calls made. However, apr_pool_initialize is subsumed in apr_initialize and shouldn't be used in the case you show above. -- Brane -- Branko Čibej | Director of Subversion WANdisco // Non-Stop Data e. br...@wandisco.com