diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2013-08-19 00:38:08 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-08-20 11:16:38 +0200 |
commit | 53333a43a1959ddeef27c26f0983be1b81e558bc (patch) | |
tree | 589abdadbfaa5c9364bf58b63ad54ddc8a790227 /tests/data/test603 | |
parent | c56f9797e7feb7c2dc93bc389d4b85cc75220d77 (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/test603')
0 files changed, 0 insertions, 0 deletions