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:
Andreas Schneider 2013-07-13 08:57:41 +02:00
parent 9046df8985
commit 1bae4f4dd4

View file

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