Plug a memory leak.
MFC after: 2 weeks
This commit is contained in:
parent
5bf328b6f4
commit
fb90888521
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286737
@ -5908,6 +5908,7 @@ ztest_init(ztest_shared_t *zs)
|
||||
}
|
||||
VERIFY3U(0, ==, spa_create(ztest_opts.zo_pool, nvroot, props, NULL));
|
||||
nvlist_free(nvroot);
|
||||
nvlist_free(props);
|
||||
|
||||
VERIFY3U(0, ==, spa_open(ztest_opts.zo_pool, &spa, FTAG));
|
||||
zs->zs_metaslab_sz =
|
||||
|
Loading…
Reference in New Issue
Block a user