[Pkg-owncloud-commits] [owncloud-client] 37/70: httpbf: silent coverity issue 12905
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:21 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 f04c80dd0e63aa7e5e6e4a623c68543ac6956b59
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Jun 20 11:33:29 2014 +0200
httpbf: silent coverity issue 12905
---
csync/src/httpbf/src/httpbf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/csync/src/httpbf/src/httpbf.c b/csync/src/httpbf/src/httpbf.c
index eb19c22..f914655 100644
--- a/csync/src/httpbf/src/httpbf.c
+++ b/csync/src/httpbf/src/httpbf.c
@@ -204,9 +204,9 @@ void hbf_free_transfer( hbf_transfer_t *transfer ) {
for( cnt = 0; cnt < transfer->block_cnt; cnt++ ) {
hbf_block_t *block = transfer->block_arr[cnt];
+ if( !block ) continue;
if( block->http_error_msg ) free( block->http_error_msg );
if( block->etag ) free( block->etag );
- if( block ) free(block);
}
free( transfer->block_arr );
free( transfer->url );
--
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