diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-16 11:10:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-16 11:10:14 -0400 |
commit | b5cfcb2045262a3ce9485c4d5a0c91b89174e539 (patch) | |
tree | 9c4fb362b6b08f4acb5377e5fc4dd5ac53acf4d5 /src/or/rendcache.c | |
parent | 8cb50703761affb496f2035768e0f024d9263938 (diff) | |
download | tor-b5cfcb2045262a3ce9485c4d5a0c91b89174e539.tar.gz tor-b5cfcb2045262a3ce9485c4d5a0c91b89174e539.zip |
Fix most check-spaces issues
Diffstat (limited to 'src/or/rendcache.c')
-rw-r--r-- | src/or/rendcache.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/rendcache.c b/src/or/rendcache.c index 37d3f12f9d..be94ef4445 100644 --- a/src/or/rendcache.c +++ b/src/or/rendcache.c @@ -237,7 +237,7 @@ rend_cache_lookup_entry(const char *query, int version, rend_cache_entry_t **e) *e = entry; } -end: + end: return ret; } @@ -374,9 +374,9 @@ rend_cache_store_v2_desc_as_dir(const char *desc) number_stored++; goto advance; -skip: + skip: rend_service_descriptor_free(parsed); -advance: + advance: /* advance to next descriptor, if available. */ current_desc = next_desc; /* check if there is a next descriptor. */ @@ -566,14 +566,15 @@ rend_cache_store_v2_desc_as_client(const char *desc, } return RCS_OKAY; -okay: + okay: if (entry) { *entry = e; } retval = RCS_OKAY; -err: + err: rend_service_descriptor_free(parsed); tor_free(intro_content); return retval; } + |