diff options
author | 2017-04-14 08:08:03 +0200 | |
---|---|---|
committer | 2017-04-14 08:08:29 -0700 | |
commit | 835d89e92fa77b6a1effea3db80202e1ffec413a (patch) | |
tree | 8d5bef922cc4c4eaf39787dc376080fdbeca066a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md: support disabling of create-on-open semantics. (diff) | |
download | wireguard-linux-835d89e92fa77b6a1effea3db80202e1ffec413a.tar.xz wireguard-linux-835d89e92fa77b6a1effea3db80202e1ffec413a.zip |
md-cluster: Fix a memleak in an error handling path
We know that 'bm_lockres' is NULL here, so 'lockres_free(bm_lockres)' is a
no-op. According to resource handling in case of error a few lines below,
it is likely that 'bitmap_free(bitmap)' was expected instead.
Fixes: b98938d16a10 ("md-cluster: introduce cluster_check_sync_size")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions