summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/nsr-server/src/etcd-api.c
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2014-03-03 20:10:01 +0000
committerJeff Darcy <jeff@wlan-196-245.bos.redhat.com>2014-03-05 13:18:58 -0500
commit87d68c5bbd085b081bb73c4bfd83115db8cdc308 (patch)
tree2992e14751529b03c32e06c4b277b15767742ef7 /xlators/cluster/nsr-server/src/etcd-api.c
parent2775959b47c15e597a7974bbafa79e0882452952 (diff)
Fix leaks introduced by error-checking patch.
Specifically, I050003a819d2314c8fdfd111df465041c30ee6e3 As usual, the best way to make sure resources get reclaimed is to make sure all return paths go through common cleanup code. This meant a lot of refactoring. Besides general readability benefits, this also got rid of the setjmp/longjmp nonsense flagged in a previous review. Change-Id: Ic232cf342a5168bfc33f6e0a0c8f0530d88f7c5e Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/nsr-server/src/etcd-api.c')
0 files changed, 0 insertions, 0 deletions