mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Revert "CID 1033194: Fix resource leak in stateedb test."
This reverts commit c40a3844e0
.
There is no leak and we expect it to be NULL. Since we fork here, it
doesn't matter if we leak memory in this case.
This commit is contained in:
parent
9046df8985
commit
1bae4f4dd4
1 changed files with 0 additions and 4 deletions
|
@ -290,10 +290,6 @@ static void check_csync_statedb_get_stat_by_inode_not_found(void **state)
|
|||
|
||||
tmp = csync_statedb_get_stat_by_inode(csync->statedb.db, (ino_t) 666);
|
||||
assert_null(tmp);
|
||||
if (tmp != NULL) {
|
||||
SAFE_FREE(tmp->path);
|
||||
SAFE_FREE(tmp);
|
||||
}
|
||||
}
|
||||
|
||||
int torture_run_tests(void)
|
||||
|
|
Loading…
Reference in a new issue