Skip to content

Commit

Permalink
Fix 'zfs clone fails with segfault' (zfsrogue - openzfs#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
FransUrbo committed Apr 24, 2013
1 parent 6edd64a commit ba3986c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/libzfs/libzfs_dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit ba3986c

Please sign in to comment.