diff options
author | Soumya Koduri <skoduri@redhat.com> | 2019-01-09 21:06:49 +0530 |
---|---|---|
committer | Soumya Koduri <skoduri@redhat.com> | 2019-01-09 21:08:39 +0530 |
commit | cc486da3ebb00ac4730df4ae03d04ec64e0e965c (patch) | |
tree | 10dfa56b3e958f1fb7cefb5c2dd1dd98ac3d81c8 /xlators/features/shard/src | |
parent | 94807aacbe488863ad2016f6abfdf404fe769bf8 (diff) |
leases: Reset lease_ctx->timer post deletion
To avoid use_after_free, reset lease_ctx->timer back to NULL
after the structure has been freed.
Change-Id: Icd213ec809b8af934afdb519c335a4680a1d6cdc
updates: bz#1655532
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit a9b0003c717087ff168bc143c70559162e53e0d5)
Diffstat (limited to 'xlators/features/shard/src')
0 files changed, 0 insertions, 0 deletions