mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 03:49:20 +03:00
CID 1033195: Fix resource leak.
This commit is contained in:
parent
bd6a66d51e
commit
cd23f8d2d1
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ static void check_csync_statedb_get_stat_by_hash_not_found(void **state)
|
|||
|
||||
tmp = csync_statedb_get_stat_by_hash(csync->statedb.db, (uint64_t) 666);
|
||||
assert_null(tmp);
|
||||
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
static void check_csync_statedb_get_stat_by_inode(void **state)
|
||||
|
|
Loading…
Reference in a new issue