[Pkg-owncloud-commits] [owncloud-client] 16/89: Maybe we need to destroy the decompress context before the request.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:29 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit fa9d9c99094567838d31f22e5e4f9d0c5055ffd7
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Dec 5 16:49:24 2013 +0100
Maybe we need to destroy the decompress context before the request.
Possibly fix the issue #1229
---
src/mirall/owncloudpropagator.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mirall/owncloudpropagator.cpp b/src/mirall/owncloudpropagator.cpp
index a8683d9..157b2bb 100644
--- a/src/mirall/owncloudpropagator.cpp
+++ b/src/mirall/owncloudpropagator.cpp
@@ -729,6 +729,8 @@ void PropagateDownloadFile::start()
int neon_stat = ne_request_dispatch(req.data());
+ _decompress.reset(); // Destroy the decompress after the request has been dispatched.
+
/* delete the hook again, otherwise they get chained as they are with the session */
ne_unhook_post_headers( _propagator->_session, install_content_reader, this );
ne_set_notifier(_propagator->_session, 0, 0);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list