summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorliaoyuxiangqin <[email protected]>2016-07-30 11:03:01 +0800
committerBrian Behlendorf <[email protected]>2016-08-01 12:49:03 -0700
commite24e62a948e1519fb4c1bfc40d9d51e36fbbe63e (patch)
treea29f9fe24fdbe2c727b8212f0940ae3f5cd9f924 /module
parentdf053d67a9c07a9763a4c04468083644eb9aa234 (diff)
Fix memory leak in function add_config()
Config of a hot spare or l2cache device will leak memory in function add_config(). At the start of this function, when dealing with a config which belongs to a hot spare not currently in use or a l2cache device the config should be freed. Signed-off-by: liaoyuxiangqin <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4910
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions