[ http://issues.apache.org/jira/browse/LOG4NET-73?page=all ]
     
Nicko Cadell resolved LOG4NET-73:
---------------------------------

    Fix Version: 1.2.10
     Resolution: Fixed

Added code to cleanup the connection and command members if the 
InitialiseDatabaseConnection method is called multiple times.

> ADONetAppender.ActivateOptions() leaks database connection when called 
> multiple times
> -------------------------------------------------------------------------------------
>
>          Key: LOG4NET-73
>          URL: http://issues.apache.org/jira/browse/LOG4NET-73
>      Project: Log4net
>         Type: Bug
>   Components: Appenders
>     Versions: 1.2.9
>     Reporter: Nicko Cadell
>     Assignee: Nicko Cadell
>      Fix For: 1.2.10

>
> ADONetAppender.ActivateOptions() calls InitializeDatabaseConnection. This 
> method does not check if the m_dbConnection is already initialised. If it is 
> initialise then it will beleaked.
> Update InitializeDatabaseConnection to check and close the connection if not 
> null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to