[ 
https://issues.apache.org/jira/browse/LOGCXX-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rhys Ulerich resolved LOGCXX-320.
---------------------------------

    Resolution: Fixed

r1567511 fixes that compilation issue, though several others remain atop that 
revision.

> TLS memory of APR is not freed in destructor of APRInitializer
> --------------------------------------------------------------
>
>                 Key: LOGCXX-320
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-320
>             Project: Log4cxx
>          Issue Type: Bug
>    Affects Versions: 0.10.0, 0.10.1
>         Environment: Windows (all versions)
>            Reporter: Christoph Thien
>            Assignee: Rhys Ulerich
>            Priority: Minor
>
> ISSUE:
> If the preprocessor define APR_HAS_THREADS is set then the contructor of 
> APRInitializer calls APR function "apr_threadkey_private_create()".
> The APR function allocates TLS memory.
> This memory is never freed.
> Microsoft Application Verifier is able to detect this issue.
> PROPOSAL:
> The destructor of APRInitializer should call APR function 
> "apr_threadkey_private_delete()" if APR_HAS_THREADS was set.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to