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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.10
    • Component/s: Appenders
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: