Plug a memory leak.

MFC after:	2 weeks
This commit is contained in:
Xin LI 2015-08-13 18:45:52 +00:00
parent 5bf328b6f4
commit fb90888521

View File

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