From ba3986c43a7c74c67d82a6620f19a5ebedcbddbb Mon Sep 17 00:00:00 2001 From: Turbo Fredriksson Date: Wed, 24 Apr 2013 05:52:34 +0200 Subject: [PATCH] Fix 'zfs clone fails with segfault' (zfsrogue - #19) --- lib/libzfs/libzfs_dataset.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c index 8731b02b1779..02879c30923f 100644 --- a/lib/libzfs/libzfs_dataset.c +++ b/lib/libzfs/libzfs_dataset.c @@ -3482,8 +3482,6 @@ zfs_clone(zfs_handle_t *zhp, const char *target, nvlist_t *props) nvlist_free(props); return (-1); } - - nvlist_free(props); } (void) strlcpy(zc.zc_name, target, sizeof (zc.zc_name));