From b59b5256a69db2f3f5bcf32693054a32237fe843 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Thu, 8 Mar 2012 22:53:43 +0530 Subject: libglusterfs: Destroy stack_lock in STACK_DESTROY Change-Id: Icf910a899db136061a439a2e5e0951da55b92c00 BUG: 798907 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2902 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/stack.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libglusterfs/src/stack.h b/libglusterfs/src/stack.h index d6ba707f7..43d481742 100644 --- a/libglusterfs/src/stack.h +++ b/libglusterfs/src/stack.h @@ -176,6 +176,7 @@ STACK_DESTROY (call_stack_t *stack) } LOCK_DESTROY (&stack->frames.lock); + LOCK_DESTROY (&stack->stack_lock); while (stack->frames.next) { FRAME_DESTROY (stack->frames.next); -- cgit