aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1376
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2013-08-19 00:38:08 -0700
committerDaniel Stenberg <daniel@haxx.se>2013-08-20 11:16:38 +0200
commit53333a43a1959ddeef27c26f0983be1b81e558bc (patch)
tree589abdadbfaa5c9364bf58b63ad54ddc8a790227 /tests/data/test1376
parentc56f9797e7feb7c2dc93bc389d4b85cc75220d77 (diff)
url: use goto in create_conn() for exception handling
Instead of remembering before each "return" statement which temporary allocations, if any, need to be freed, take care to set pointers to NULL when no longer needed and use a goto to a common block to exit the function and free all temporaries. No functional change intended. Currently the only temporary buffer in this function is "proxy" which is already correctly freed when appropriate, but there will be more soon.
Diffstat (limited to 'tests/data/test1376')
0 files changed, 0 insertions, 0 deletions