[Pkg-owncloud-commits] [owncloud-client] 206/498: csync_statedb: fix leak
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:50 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 516509b4ed5d9f23b491a7a0f8c02deeb7a0e697
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Jun 26 17:01:43 2015 +0200
csync_statedb: fix leak
Spotted by coverity (CID 98061)
---
csync/src/csync_statedb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/csync/src/csync_statedb.c b/csync/src/csync_statedb.c
index 49c098d..779bb34 100644
--- a/csync/src/csync_statedb.c
+++ b/csync/src/csync_statedb.c
@@ -491,6 +491,7 @@ int csync_statedb_get_below_path( CSYNC *ctx, const char *path ) {
if (excluded == CSYNC_FILE_EXCLUDE_AND_REMOVE
|| excluded == CSYNC_FILE_SILENTLY_EXCLUDED) {
+ SAFE_FREE(st);
continue;
}
--
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