diff options
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -792,7 +792,7 @@ static int write_ctx_free(struct write_ctx *const w) const struct http_response *const r = &w->r; if (r->free) - r->free(r->buf.rw); + r->free(r->args ? r->args : r->buf.rw); if (r->f && (ret = fclose(r->f))) fprintf(stderr, "%s: fclose(3): %s\n", __func__, strerror(errno)); |
