diff options
author | delphij <delphij@FreeBSD.org> | 2015-08-27 01:02:01 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-08-27 01:02:01 +0000 |
commit | 31d28b6b024b5f9627d52604ed140404ba94df79 (patch) | |
tree | a9efe800abb317ff68e502eb0b46fa462a0bc1a0 /cddl | |
parent | 8ec6c5900c12560d707b1c503a14c9d822625d06 (diff) | |
download | FreeBSD-src-31d28b6b024b5f9627d52604ed140404ba94df79.zip FreeBSD-src-31d28b6b024b5f9627d52604ed140404ba94df79.tar.gz |
MFC r286737:
Plug a memory leak.
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/ztest/ztest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/ztest/ztest.c b/cddl/contrib/opensolaris/cmd/ztest/ztest.c index 0695834..f76c8ea 100644 --- a/cddl/contrib/opensolaris/cmd/ztest/ztest.c +++ b/cddl/contrib/opensolaris/cmd/ztest/ztest.c @@ -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 = |