diff options
Diffstat (limited to 'xlators/features/index/src')
-rw-r--r-- | xlators/features/index/src/index.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/index/src/index.c b/xlators/features/index/src/index.c index ead20e06f..8f630f2f9 100644 --- a/xlators/features/index/src/index.c +++ b/xlators/features/index/src/index.c @@ -1079,6 +1079,9 @@ init (xlator_t *this) } ret = 0; out: + if (!this->private && priv) + GF_FREE (priv); + return ret; } |