diff options
author | heary-cao <[email protected]> | 2016-08-06 15:08:51 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-08-19 11:17:12 -0700 |
commit | ee6370a7a48e416cbd44819d007fdaba120a328d (patch) | |
tree | f4e9a84c7fea7ab14d0fd2146ff71d1d5345422e /include/libuutil_common.h | |
parent | 5a5170884a6131c9f4346dd130d50a945d425853 (diff) |
Fix spa config generate memory leak in spa_load_best function
When spa retry load succeeds and spa recovery is requested it may
leak in spa_load_best function. Always free the generated config
when it is not assigned to the spa.
Signed-off-by: cao.xuewen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4940
Diffstat (limited to 'include/libuutil_common.h')
0 files changed, 0 insertions, 0 deletions