diff options
author | N Balachandran <nbalacha@redhat.com> | 2016-07-08 10:46:46 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-07-08 13:17:12 -0700 |
commit | 9886d568a7a8839bf3acc81cb1111fa372ac5270 (patch) | |
tree | a63920aa64867d2f38672356964479f20c8ca57d /build-aux/pkg-version | |
parent | 84e9fc2fb5fabf9d1e553a420854a306cdb8a168 (diff) |
rpc/socket: pthread resources are not cleaned up
A socket_connect failure creates a new pthread which
is not a detached thread. As no pthread_join is called,
the thread resources are not cleaned up causing a memory leak.
Now, socket_connect creates a detached thread to handle failure.
Change-Id: Idbf25d312f91464ae20c97d501b628bfdec7cf0c
BUG: 1343374
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Reviewed-on: http://review.gluster.org/14875
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'build-aux/pkg-version')
0 files changed, 0 insertions, 0 deletions