[Pkg-owncloud-commits] [owncloud-client] 57/70: Exclude: Add a missing free in case of empty lines.
    Sandro Knauß 
    hefee-guest at moszumanska.debian.org
       
    Tue Jul  1 10:21:23 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 041066a252e0cd5f9bcebacf0254b7b492a07955
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Jun 20 15:14:44 2014 +0200
    Exclude: Add a missing free in case of empty lines.
    
    This fixes Coverity CLT 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 f0e9e82..7302202 100644
--- a/csync/src/csync_exclude.c
+++ b/csync/src/csync_exclude.c
@@ -229,6 +229,7 @@ CSYNC_EXCLUDE_TYPE csync_excluded(CSYNC *ctx, const char *path, int filetype) {
 
       type = CSYNC_FILE_EXCLUDE_LIST;
       if (strlen(pattern) < 1) {
+	  SAFE_FREE(pattern_stored);
           continue;
       }
       /* Ecludes starting with ']' means it can be cleanup */
-- 
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