diff options
-rw-r--r-- | xlators/features/quota/src/quota.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index c014c99cbd2..9a8352252a4 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -4951,6 +4951,9 @@ quota_log_usage(xlator_t *this, quota_inode_ctx_t *ctx, inode_t *inode, ctx->prev_log = cur_time; } + if (path) + GF_FREE(path); + if (usage_str) GF_FREE(usage_str); } |