summaryrefslogtreecommitdiffstats
path: root/xlators/experimental/jbr-server/src/jbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/experimental/jbr-server/src/jbr.c')
-rw-r--r--xlators/experimental/jbr-server/src/jbr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/experimental/jbr-server/src/jbr.c b/xlators/experimental/jbr-server/src/jbr.c
index 68badb85079..afdbc5d9f4a 100644
--- a/xlators/experimental/jbr-server/src/jbr.c
+++ b/xlators/experimental/jbr-server/src/jbr.c
@@ -1218,10 +1218,12 @@ jbr_open_term (call_frame_t *frame, xlator_t *this, dict_t *xdata)
/* Success! */
STACK_UNWIND_STRICT (ipc, frame, 0, 0, NULL);
+ GF_FREE (path);
return;
err:
STACK_UNWIND_STRICT (ipc, frame, -1, op_errno, NULL);
+ GF_FREE (path);
}