commit | d47b41aceeadc6b58abc9c7c6485bef7cfb75636 | [log] [tgz] |
---|---|---|
author | Vasily Averin <vvs@virtuozzo.com> | Thu Nov 15 13:18:56 2018 +0300 |
committer | David Teigland <teigland@redhat.com> | Thu Nov 15 09:57:22 2018 -0600 |
tree | 09a343fb083140d8ff79bd39e38e95695f40b1d1 | |
parent | c0174726c3976e67da8649ac62cae43220ae173a [diff] |
dlm: memory leaks on error path in dlm_user_request() According to comment in dlm_user_request() ua should be freed in dlm_free_lkb() after successful attach to lkb. However ua is attached to lkb not in set_lock_args() but later, inside request_lock(). Fixes 597d0cae0f99 ("[DLM] dlm: user locks") Cc: stable@kernel.org # 2.6.19 Signed-off-by: Vasily Averin <vvs@virtuozzo.com> Signed-off-by: David Teigland <teigland@redhat.com>