[Pkg-owncloud-commits] [owncloud-client] 26/70: Fix potential memory leak

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:19 UTC 2014


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 bec66c85d4a6abc33f186d20cfd173987e823a27
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Fri Jun 20 10:45:06 2014 +0200

    Fix potential memory leak
    
    This fixes Coverity CID 12893
---
 csync/src/csync_exclude.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/csync/src/csync_exclude.c b/csync/src/csync_exclude.c
index 0c33988..2ae23db 100644
--- a/csync/src/csync_exclude.c
+++ b/csync/src/csync_exclude.c
@@ -264,6 +264,7 @@ CSYNC_EXCLUDE_TYPE csync_excluded(CSYNC *ctx, const char *path, int filetype) {
 
           if (bname == NULL || dname == NULL) {
               match = CSYNC_NOT_EXCLUDED;
+              SAFE_FREE(pattern_stored);
               goto out;
           }
 

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