Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-73

ADONetAppender.ActivateOptions() leaks database connection when called multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.9
    • 1.2.10
    • Appenders
    • None

    Description

      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.

      Attachments

        Activity

          People

            nicko Nicko Cadell
            nicko Nicko Cadell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: