diff options
Diffstat (limited to 'xlators/features/locks/src/posix.c')
-rw-r--r-- | xlators/features/locks/src/posix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index 931b9aeb6c5..a2e47fc8ef4 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -2475,6 +2475,7 @@ pl_forget (xlator_t *this, list) { list_del (&rw_req->list); + call_stub_destroy(rw_req->stub); GF_FREE (rw_req); } } @@ -2558,6 +2559,8 @@ pl_forget (xlator_t *this, } + pthread_mutex_destroy(&pl_inode->mutex); + GF_FREE (pl_inode); return 0; |