summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-03-08 22:53:43 +0530
committerAnand Avati <avati@redhat.com>2012-03-18 00:53:25 -0700
commitb59b5256a69db2f3f5bcf32693054a32237fe843 (patch)
treecbe22d7650fe1d018c37a6e81011ffa02469cf1c
parent4f257ae34dcce7eb4437d572274f77279a831986 (diff)
libglusterfs: Destroy stack_lock in STACK_DESTROY
Change-Id: Icf910a899db136061a439a2e5e0951da55b92c00 BUG: 798907 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/2902 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--libglusterfs/src/stack.h1
1 files changed, 1 insertions, 0 deletions
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);