mirror of
https://github.com/gluster/glusterfs.git
synced 2026-02-05 15:48:40 +01:00
libgfapi: fix resource leak
This patch fixes resource leak in glfs-fops.c. CID : 1403873 : Resource leak updates: bz#789278 Change-Id: I589d4d65d2b074801f7b4b0afd7dc4607d79420e Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
This commit is contained in:
committed by
Amar Tumballi
parent
c1c2afd920
commit
34347876bb
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user