summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2015-12-07 13:32:57 +0530
committerDan Lambright <dlambrig@redhat.com>2015-12-07 06:35:59 -0800
commit06818a0fd69bb0d6daabde73e5c3cc2661a70854 (patch)
treed0be4e1635a3e4d2fd43abade6ed5fefff0cc939 /cli/src/cli.h
parentb1d047caeacbcfac4222759af9d5936b7cfd1d7c (diff)
cluster/tier : Fix double free in tier process
The tier process tries to free ipc_ctr_params twice if the syncop_ipc call in tier_process_ctr_query fails. ipc_ctr_params is freed when ctr_ipc_in_dict is freed. But ctr_ipc_out_dict is NULL when syncop_ipc fails, causing GF_FREE to be called on a non-NULL ipc_ctr_params ptr again. Change-Id: Ia15f36dfbcd97be5524588beb7caad5cb79efdb4 BUG: 1288995 Signed-off-by: N Balachandran <nbalacha@redhat.com> Reviewed-on: http://review.gluster.org/12890 Reviewed-by: Joseph Fernandes Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'cli/src/cli.h')
0 files changed, 0 insertions, 0 deletions