]> git.proxmox.com Git - mirror_zfs.git/commit
Fixed memory leaks in zevent handling
authorIsaac Huang <he.huang@intel.com>
Tue, 4 Mar 2014 03:00:11 +0000 (20:00 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Aug 2014 17:45:16 +0000 (10:45 -0700)
commit0426c16804e572f088dd293029ab39fa75e1e203
tree0285b5718f4d72a8e69d54c73be0e11b37a253a6
parentbd089c547784a4ab23fa20f307e8b23b0a622525
Fixed memory leaks in zevent handling

Some nvlist_t could be leaked in error handling paths.
Also make sure cb argument to zfs_zevent_post() cannnot
be NULL.

Signed-off-by: Isaac Huang <he.huang@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2158
include/sys/fm/util.h
module/zfs/fm.c
module/zfs/zfs_fm.c