diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-04-26 01:28:43 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-25 09:22:03 -0700 |
commit | 706447861bb210cf2fb6a58bc1d29a6636175987 (patch) | |
tree | b81c71120e9589293608495d1236752d76209023 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5bded4effb601d9f92382db38fd501f98692eb2d (diff) |
drbd: fix memory leak in drbd_adm_resize
new_disk_conf could be leaked if the follow on checks fail,
so make sure to free it on error if it was not assigned yet.
Found with smatch.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions