[Pkg-owncloud-commits] [owncloud-client] 35/78: Fix pot. mem leak found by coverity (CID 12900)

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Jun 24 16:29:40 UTC 2016


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 eacc0c8bd62aec26ae1b00999c379eabcba13540
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Tue May 24 11:04:35 2016 +0200

    Fix pot. mem leak found by coverity (CID 12900)
---
 csync/src/csync_update.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/csync/src/csync_update.c b/csync/src/csync_update.c
index f579bde..4ec188d 100644
--- a/csync/src/csync_update.c
+++ b/csync/src/csync_update.c
@@ -270,6 +270,7 @@ static int _csync_detect_update(CSYNC *ctx, const char *file,
 
     if(_last_db_return_error(ctx)) {
         SAFE_FREE(st);
+        SAFE_FREE(tmp);
         ctx->status_code = CSYNC_STATUS_UNSUCCESSFUL;
         return -1;
     }

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