summaryrefslogtreecommitdiffstats
path: root/module/zfs/zfeature.c
diff options
context:
space:
mode:
authorheary-cao <[email protected]>2016-08-06 15:08:51 +0800
committerBrian Behlendorf <[email protected]>2016-08-19 11:17:12 -0700
commitee6370a7a48e416cbd44819d007fdaba120a328d (patch)
treef4e9a84c7fea7ab14d0fd2146ff71d1d5345422e /module/zfs/zfeature.c
parent5a5170884a6131c9f4346dd130d50a945d425853 (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 'module/zfs/zfeature.c')
0 files changed, 0 insertions, 0 deletions