Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-7403

Potential PreparedStatement/ResultSet leak in LeaseDatabaseLocker#determineTimeDifference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.15.11
    • 5.16.0, 5.15.12
    • JDBC
    • None

    Description

      LeaseDatabaseLocker#determineTimeDifference does not close the PreparedStatement and the ResultSet it uses/creates.

      This may cause a resource leak.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            pascalschumacher Pascal Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m