From 276142d543f6129623e40e7c93a23353c1f4eac3 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Wed, 17 Aug 2011 00:55:39 +0530 Subject: features/marker: do not unref the marker local twice to avoid memory corruption Change-Id: I71bc8a477155cff62c3218fee285a22a44aa54ba BUG: 3385 Reviewed-on: http://review.gluster.com/241 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/features/marker/src/marker-quota.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/marker/src/marker-quota.h') diff --git a/xlators/features/marker/src/marker-quota.h b/xlators/features/marker/src/marker-quota.h index ff869d67fde..dfb916bcf6e 100644 --- a/xlators/features/marker/src/marker-quota.h +++ b/xlators/features/marker/src/marker-quota.h @@ -42,7 +42,7 @@ _frame->local = NULL; \ STACK_DESTROY (_frame->root); \ quota_local_unref (_this, _local); \ - GF_FREE (_local); \ + GF_FREE (_local); \ } while (0) -- cgit