[Pkg-owncloud-commits] [owncloud-client] 469/498: SyncJournalDB: clear all the prepared query when closing the database

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:19 UTC 2015


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 2cf29352b806d52d2eee41f56a1de2a1459cfccd
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu Aug 6 14:28:02 2015 +0200

    SyncJournalDB: clear all the prepared query when closing the database
    
    Not closing it may keep the file open (issue #3421)
---
 src/libsync/syncjournaldb.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libsync/syncjournaldb.cpp b/src/libsync/syncjournaldb.cpp
index e9dd5a5..35fa4d6 100644
--- a/src/libsync/syncjournaldb.cpp
+++ b/src/libsync/syncjournaldb.cpp
@@ -434,6 +434,7 @@ void SyncJournalDb::close()
     _deleteFileRecordRecursively.reset(0);
     _getErrorBlacklistQuery.reset(0);
     _setErrorBlacklistQuery.reset(0);
+    _getSelectiveSyncListQuery.reset(0);
 
     _db.close();
     _avoidReadFromDbOnNextSyncFilter.clear();

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