summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2016-09-30 12:55:40 +0200
committerNiels de Vos <ndevos@redhat.com>2016-10-20 06:13:29 -0700
commitd73ca4a5bfad1e46dfc4a3a12401d8720b05c298 (patch)
treebaae2713f558b40beb8cc4c5ee5f1e9010af5d3a /cli
parentdaea58a51b70f80ab04f115e49f8bf8790b6046a (diff)
tests: gfapi/bug1291259.c should only call glfs_free() on success
In case glfs_h_poll_upcall() does not return success, the 'struct glfs_upcall' would not have been allocated. A retry will be done and glfs_free() is called on the unallocated structure. In case the pointer does not point to NULL, glfs_free() will try to free up some random area. Change-Id: I38788d3bf22bbac3924f25edf45cd4a2637fa777 BUG: 1371540 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/15603 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions