aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zhack/zhack.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zhack/zhack.c')
-rw-r--r--cmd/zhack/zhack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zhack/zhack.c b/cmd/zhack/zhack.c
index 4d958fe43..08263120c 100644
--- a/cmd/zhack/zhack.c
+++ b/cmd/zhack/zhack.c
@@ -150,6 +150,7 @@ zhack_import(char *target, boolean_t readonly)
zfeature_checks_disable = B_TRUE;
error = spa_import(target, config, props,
(readonly ? ZFS_IMPORT_SKIP_MMP : ZFS_IMPORT_NORMAL));
+ fnvlist_free(config);
zfeature_checks_disable = B_FALSE;
if (error == EEXIST)
error = 0;