summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quotad-aggregator.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/quota/src/quotad-aggregator.c')
-rw-r--r--xlators/features/quota/src/quotad-aggregator.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c
index a37a3728b55..2c2b8589356 100644
--- a/xlators/features/quota/src/quotad-aggregator.c
+++ b/xlators/features/quota/src/quotad-aggregator.c
@@ -112,12 +112,8 @@ ret:
quotad_aggregator_free_state (state);
}
- if (frame) {
- if (frame->root->client)
- gf_client_unref (frame->root->client);
-
+ if (frame)
STACK_DESTROY (frame->root);
- }
if (new_iobref) {
iobref_unref (iobref);