/[Apache-SVN]
ViewVC logotype

Revision 1675771


Jump to revision: Previous Next
Author: brane
Date: Fri Apr 24 04:29:50 2015 UTC (9 years, 7 months ago)
Changed paths: 2
Log Message:
Fix a really nifty native memory leak in the JavaHL status editor.

[in subversion/bindings/javahl/src]
* org/apache/subversion/javahl/ISVNEditor.java
  (ISVNEditor.addFile, ISVNEditor.alterFile): Document that the contents
   stream must be closed by the implementation.
* org/apache/subversion/javahl/remote/StatusEditor.java
  (StatusEditor.addFile, StatusEditor.alterFile): Close the contents
   stream, otherwise the Java object will be garbage-collected, but
   the underlying native C++ object will never be destroyed.


Changed paths

Path Details
Directorysubversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNEditor.java modified , text changed
Directorysubversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/remote/StatusEditor.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26