projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
171de99
)
Fix pot. mem leak found by coverity (CID 12900)
author
Daniel Molkentin
<danimo@owncloud.com>
Tue, 24 May 2016 09:04:35 +0000
(11:04 +0200)
committer
Daniel Molkentin
<danimo@owncloud.com>
Tue, 24 May 2016 09:21:33 +0000
(11:21 +0200)
csync/src/csync_update.c
patch
|
blob
|
history
diff --git
a/csync/src/csync_update.c
b/csync/src/csync_update.c
index f579bde8a13be41338b4a4cad9d4b4864fcd8827..4ec188d6ff0866af43a3fab95aca293346749e38 100644
(file)
--- 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;
}