[Bugs] [Bug 1412489] Upcall: Possible memleak if inode_ctx_set fails
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jan 12 15:47:27 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1412489
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16381 committed in master by Jeff Darcy
(jdarcy at redhat.com)
------
commit 84271e12efb783bfc83133329b0fd18aba729c84
Author: Soumya Koduri <skoduri at redhat.com>
Date: Thu Jan 12 14:19:31 2017 +0530
Upcall: Fix possible memleak when inode_ctx_set fails
In __upcall_inode_ctx_set(), if inode_ctx_set fails we should
free allocated memory for ctx. This patch takes care of the same.
Change-Id: Iafb42787151a579caf6f396c9b414ea48d16e6b4
BUG: 1412489
Reported-by: Nithya Balachandran <nbalacha at redhat.com>
Signed-off-by: Soumya Koduri <skoduri at redhat.com>
Reviewed-on: http://review.gluster.org/16381
Reviewed-by: N Balachandran <nbalacha at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Qa0OuVT9hG&a=cc_unsubscribe
More information about the Bugs
mailing list