summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/nl-cache/src/nl-cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/performance/nl-cache/src/nl-cache.c b/xlators/performance/nl-cache/src/nl-cache.c
index 575b1e76d59..689950c3b8a 100644
--- a/xlators/performance/nl-cache/src/nl-cache.c
+++ b/xlators/performance/nl-cache/src/nl-cache.c
@@ -742,6 +742,9 @@ init (xlator_t *this)
ret = 0;
out:
+ if (ret < 0)
+ GF_FREE (conf);
+
return ret;
}