summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota-enforcer-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/quota/src/quota-enforcer-client.c')
-rw-r--r--xlators/features/quota/src/quota-enforcer-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/quota/src/quota-enforcer-client.c b/xlators/features/quota/src/quota-enforcer-client.c
index a52180936e3..49279449320 100644
--- a/xlators/features/quota/src/quota-enforcer-client.c
+++ b/xlators/features/quota/src/quota-enforcer-client.c
@@ -321,7 +321,8 @@ quota_enforcer_blocking_connect (rpc_clnt_t *rpc)
ret = 0;
out:
- dict_unref (options);
+ if (options)
+ dict_unref (options);
return ret;
}