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.
|