]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
6873 zfs_destroy_snaps_nvl leaks errlist
authoravg <avg@FreeBSD.org>
Tue, 12 Jul 2016 11:54:25 +0000 (11:54 +0000)
committeravg <avg@FreeBSD.org>
Tue, 12 Jul 2016 11:54:25 +0000 (11:54 +0000)
commit61e67ecf4f9f687f2f8adc3fadf3a32eb7f03c16
treeb355436ab83322225f83159901e9b47404c3a019
parent6a68a9f2251931f560396aed31718257425f3c63
6873 zfs_destroy_snaps_nvl leaks errlist

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

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>
lib/libzfs/common/libzfs_dataset.c