summaryrefslogtreecommitdiffstats
path: root/xlators/system/posix-acl/src/posix-acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/system/posix-acl/src/posix-acl.c')
-rw-r--r--xlators/system/posix-acl/src/posix-acl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/xlators/system/posix-acl/src/posix-acl.c b/xlators/system/posix-acl/src/posix-acl.c
index f2fe7d9c4c5..0962f64044d 100644
--- a/xlators/system/posix-acl/src/posix-acl.c
+++ b/xlators/system/posix-acl/src/posix-acl.c
@@ -2072,11 +2072,9 @@ fini (xlator_t *this)
LOCK_DESTROY (&conf->acl_lock);
- if (minacl)
- GF_FREE (minacl);
+ GF_FREE (minacl);
- if (conf)
- GF_FREE (conf);
+ GF_FREE (conf);
return 0;
}