NEX-2848 memory leak in the zfs_release() library call path