commit | b982896cdb6e6a6b89d86dfb39df489d9df51e14 | [log] [tgz] |
---|---|---|
author | Vasily Averin <vvs@virtuozzo.com> | Thu Nov 15 13:15:05 2018 +0300 |
committer | David Teigland <teigland@redhat.com> | Thu Nov 15 09:57:22 2018 -0600 |
tree | e235c573c093cb12f33261d65145260d5e1e2d89 | |
parent | 58a923adf4d9aca8bf7205985c9c8fc531c65d72 [diff] |
dlm: fixed memory leaks after failed ls_remove_names allocation If allocation fails on last elements of array need to free already allocated elements. v2: just move existing out_rsbtbl label to right place Fixes 789924ba635f ("dlm: fix race between remove and lookup") Cc: stable@kernel.org # 3.6 Signed-off-by: Vasily Averin <vvs@virtuozzo.com> Signed-off-by: David Teigland <teigland@redhat.com>