5918 Memory leak when zfs_destroy_snaps_nvl fails
*** 3413,3422 **** --- 3413,3423 ---- ret = zfs_standard_error(hdl, errno, errbuf); break; } } + nvlist_free(errlist); return (ret); } /* * Clones the given dataset. The target must be of the same type as the source.