Description of problem: In function rpc_transport_unix_options_build, if the variable fpath has been set into dict successfully, bug the underlying set failed. The fpath will be freed by GF_FREE and be freed in dict_unref too which will cause free twice. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: http://review.gluster.org/14882 (rpc: fix several problems in failure handle logic) posted (#1) for review on master by Zhou Zhengping (johnzzpcrystal)
REVIEW: http://review.gluster.org/14882 (rpc: fix several problems in failure handle logic) posted (#2) for review on master by Zhou Zhengping (johnzzpcrystal)
COMMIT: http://review.gluster.org/14882 committed in master by Jeff Darcy (jdarcy) ------ commit ab56ec1e99cd76d45b52d841e6b0009f94a3268b Author: Zhou Zhengping <johnzzpcrystal> Date: Sun Jul 10 09:10:49 2016 -0400 rpc: fix several problems in failure handle logic Once dynstr is set into a dict by function dict_set_dynstr, its free operation will be called by this dict when the dict is destroyed. Signed-off-by: Zhou Zhengping <johnzzpcrystal> Change-Id: Idd2bd19a041bcb477e1c897428ca1740fb75c5f3 BUG: 1354141 Reviewed-on: http://review.gluster.org/14882 Tested-by: Zhou Zhengping <johnzzpcrystal> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Vijay Bellur <vbellur> Smoke: Gluster Build System <jenkins.org>