Skip to content
Browse files

Free props in ztest_init()

Valgrind complained about this and it's absolutely right.  The
props nvlist was not being freed in ztest_init.

Signed-off-by: Brian Behlendorf <>
Signed-off-by: Richard Yao <>
Closes #2174
  • Loading branch information...
ryao authored and behlendorf committed Jan 21, 2014
1 parent 0bb89b6 commit 85802aa42bf8f878022ec73ddde6bf3702f67d01
Showing with 1 addition and 0 deletions.
  1. +1 −0 cmd/ztest/ztest.c
@@ -6035,6 +6035,7 @@ ztest_init(ztest_shared_t *zs)
VERIFY3U(0, ==, spa_create(ztest_opts.zo_pool, nvroot, props, NULL));

VERIFY3U(0, ==, spa_open(ztest_opts.zo_pool, &spa, FTAG));
zs->zs_metaslab_sz =

0 comments on commit 85802aa

Please sign in to comment.
You can’t perform that action at this time.