]> git.ipfire.org Git - thirdparty/grub.git/commit
Fix ZFS memory and resource leaks.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 10 Nov 2011 07:38:06 +0000 (08:38 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 10 Nov 2011 07:38:06 +0000 (08:38 +0100)
commit45bd824d2eed877eef2c55c96063eefbc4a3c5d5
tree201b0f600bf543567f3904cafe5a8ad1a84ed0c6
parentad9a2f44b4cbf8e22a65f9f019b7914f1a60d169
Fix ZFS memory and resource leaks.

* grub-core/fs/zfs/zfs.c (fill_vdev_info_real): New paramter inserted.
All users updated.
Free type on exit.
(fill_vdev_info): New parameter inserted. All users updated.
(check_pool_label): Likewise.
(scan_disk): Likewise.
(scan_devices): Close non-inserted disks.
(fzap_iterate): Free l.
(unmount_device): Free children descripto memory.
ChangeLog
grub-core/fs/zfs/zfs.c