summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-volume.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-09-04 04:07:58 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-04 04:17:10 -0700
commit4f708eb8bbc80e5107fc3679b9f7ccac51883782 (patch)
tree3edf25ba4a585da9db743a4fec26733363a50009 /cli/src/cli-cmd-volume.c
parent1972bd268f1a989d063701de2afee73c15059e01 (diff)
rpc-transport/socket: fix memory leaks.
- In the course of reading a single rpc-msg, socket_proto_state_machine may be executed multiple times (since sockets are non-blocking), hence wherever memory is allocated or referenced, checks should be added whether the memory is already allocated or referenced. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1438 (memory leaks) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1438
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
0 files changed, 0 insertions, 0 deletions