]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r305203: MFV r302655: 6873 zfs_destroy_snaps_nvl leaks errlist
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 12 Oct 2016 05:39:29 +0000 (05:39 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 12 Oct 2016 05:39:29 +0000 (05:39 +0000)
commit320bb04879f813f6c66d8048f153cf6599142225
tree6ac2702f35f51cf0b951ff780f808234afe56361
parent391c03e5168cee2fde18f0523bb204e8d1887ce5
MFC r305203: MFV r302655: 6873 zfs_destroy_snaps_nvl leaks errlist

illumos/illumos-gate@4cde22c29999ffb907ca39d2ebd512812f7e5168
https://github.com/illumos/illumos-gate/commit/4cde22c29999ffb907ca39d2ebd512812
f7e5168

https://www.illumos.org/issues/6873
  lzc_destroy_snaps() returns an nvlist in errlist.
  zfs_destroy_snaps_nvl() should nvlist_free() it before returning.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Chris Williamson <chris.williamson@delphix.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@307119 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c