summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/glfs-fops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index 603f37afb09..8d6d11423e8 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -5797,6 +5797,7 @@ glfs_cbk_upcall_syncop(void *opaque)
goto out;
} else if (ret) {
gf_smsg(THIS->name, GF_LOG_ERROR, errno, API_MSG_INVALID_ENTRY, NULL);
+ GLFS_FREE(up_arg);
goto out;
}