diff options
author | Anders Kaseorg <andersk@MIT.EDU> | 2008-12-28 15:27:00 -0500 |
---|---|---|
committer | Thiago Macieira <thiago@kde.org> | 2009-01-08 16:58:07 +0100 |
commit | b9ea350139b68667f97e0e7f51af862f22dba6d6 (patch) | |
tree | 35b30cc2cc171910fbde02b02c1637104ebd3ed7 /src | |
parent | fc7b4bccdc719177ec0b4fa135e43ec96403c7b7 (diff) | |
download | svn2git-b9ea350139b68667f97e0e7f51af862f22dba6d6.tar svn2git-b9ea350139b68667f97e0e7f51af862f22dba6d6.tar.gz svn2git-b9ea350139b68667f97e0e7f51af862f22dba6d6.tar.bz2 svn2git-b9ea350139b68667f97e0e7f51af862f22dba6d6.tar.xz svn2git-b9ea350139b68667f97e0e7f51af862f22dba6d6.zip |
Add missing calls to svn_stream_close().
---1257098496-5312088-1230496020=:2755svn_stream_copy() does not automatically close its streams. (Thatfeature will be added in Subversion 1.6’s svn_stream_copy3().)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Thiago Macieira <thiago@kde.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/svn.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/svn.cpp b/src/svn.cpp index 1e7dcbf..5236579 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -271,6 +271,8 @@ static int dumpBlob(Repository::Transaction *txn, svn_fs_root_t *fs_root, // open a generic svn_stream_t for the QIODevice out_stream = streamForDevice(io, dumppool); SVN_ERR(svn_stream_copy(in_stream, out_stream, dumppool)); + svn_stream_close(out_stream); + svn_stream_close(in_stream); // print an ending newline io->putChar('\n'); |