diff options
author | Tom Caputi <[email protected]> | 2017-05-18 20:35:49 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-18 17:35:49 -0700 |
commit | a32df59e187a6187eb96c52b93cf02e8af51f327 (patch) | |
tree | d680b6277d7fe6cb7c8b03367514d3abf0088aee /include/sys/zfs_rlock.h | |
parent | a9f0d7dd89fd9e09ef41ca98d6ba06bbd3d6ea88 (diff) |
Fixed small memory leak in ereport handling
One pre-check in zfs_ereport_start() was being called after
the nvlists were being allocated. This simply corrects that
issue.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #6140
Diffstat (limited to 'include/sys/zfs_rlock.h')
0 files changed, 0 insertions, 0 deletions