aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/torgzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index 8d4438907..453ce6d8f 100644
--- a/src/common/torgzip.c
+++ b/src/common/torgzip.c
@@ -208,7 +208,7 @@ tor_gzip_uncompress(char **out, size_t *out_len,
*out_len = stream->total_out;
if (inflateEnd(stream)!=Z_OK) {
log_fn(LOG_WARN, "Error freeing gzip structures");
- goto err;
+ goto err; /* XXX this will try to inflateEnd again, right? is that bad? */
}
tor_free(stream);