diff options
author | BearBabyLiu <[email protected]> | 2016-11-03 03:34:10 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-11-02 12:34:10 -0700 |
commit | 6d4210052be6c63032d693aa487f84955b0dae44 (patch) | |
tree | 67cfc89728b3f6855ee5f18f0bf15845f7c3f74b /man/man5/zfs-module-parameters.5 | |
parent | e676a196249b5e8d23c036548f189cad60d5cd2a (diff) |
Fix dsl_prop_get_all_dsl() memory leak
On error dsl_prop_get_all_ds() does not free the nvlist it allocates.
This behavior may have been intentional when originally written
but is atypical and often confusing. Since no callers rely on this
behavior the function has been updated to always free the nvlist
on error.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: BearBabyLiu <[email protected]>
Closes #5320
Diffstat (limited to 'man/man5/zfs-module-parameters.5')
0 files changed, 0 insertions, 0 deletions