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.
Status: Closed (submitted)
commit d8584ba6fb7a5e46da1725845b99ae5fab5a4baf Author: Marcel Telka <firstname.lastname@example.org> AuthorDate: Tue Mar 21 10:31:27 2017 +0100 Commit: Matthew Ahrens <email@example.com> CommitDate: Tue Mar 21 17:01:07 2017 -0700 7990 libzfs: snapspec_cb() does not need to call zfs_strdup() Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Matthew Ahrens <firstname.lastname@example.org> :100644 100644 91ae6f3... f5ac68f... M usr/src/lib/libzfs/common/libzfs_iter.c