diff options
author | Oleg Drokin <[email protected]> | 2015-04-26 01:28:43 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-11-25 09:22:03 -0700 |
commit | 706447861bb210cf2fb6a58bc1d29a6636175987 (patch) | |
tree | b81c71120e9589293608495d1236752d76209023 /scripts/gdb/linux/tasks.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 <[email protected]>
Signed-off-by: Philipp Reisner <[email protected]>
Signed-off-by: Lars Ellenberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions