7990 libzfs: snapspec_cb() does not need to call zfs_strdup()
Review Request #409 - Created March 21, 2017 and submitted
The snapspec_cb() callback function in libzfs does not need to call zfs_strdup().
I called zfs_iter_snapspec() with "%" as the spec_orig to make sure it still works as expected and there is no regression.
Review request changed
Status: Closed (submitted)
commit d8584ba6fb7a5e46da1725845b99ae5fab5a4baf Author: Marcel Telka <email@example.com> AuthorDate: Tue Mar 21 10:31:27 2017 +0100 Commit: Matthew Ahrens <firstname.lastname@example.org> CommitDate: Tue Mar 21 17:01:07 2017 -0700 7990 libzfs: snapspec_cb() does not need to call zfs_strdup() Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Matthew Ahrens <email@example.com> :100644 100644 91ae6f3... f5ac68f... M usr/src/lib/libzfs/common/libzfs_iter.c