MFC r286737:

Plug a memory leak.
This commit is contained in:
delphij 2015-08-27 01:02:01 +00:00
parent 8ec6c5900c
commit 31d28b6b02

View File

@ -5905,6 +5905,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 =