diff options
author | heary-cao <cao.xuewen@zte.com.cn> | 2016-08-06 15:08:51 +0800 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2016-08-19 11:17:12 -0700 |
commit | ee6370a7a48e416cbd44819d007fdaba120a328d (patch) | |
tree | f4e9a84c7fea7ab14d0fd2146ff71d1d5345422e /cmd | |
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 <cao.xuewen@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4940
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions