CID 1033195: Fix resource leak.

This commit is contained in:
Andreas Schneider 2013-07-04 11:57:31 +02:00
parent bd6a66d51e
commit cd23f8d2d1

View file

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