Memory leak in PubSubPersistenceManager

There are two possible memory leaks in PubSubPersistenceManager.

  1. In the function updateNode, the prepared statement needs to be closed pstmt.close(); on line 301.

  2. In the function loadNodes, the prepared statement is not closed. on line 521 pstmt.close().

Reading the JIRA issue tracker i am suppose to add these add these as threads before opening a defect, is that correct?

Hi Ian,

Thanks, I filed this as: OF-52

If you would like to file Jira tickets in the future, let me know and I can get you the proper permissions. If you would like to develop openfire and perhaps get SVN access someday, let me know as well

daryl