don't leak body in recv error case

This commit is contained in:
Michael Jerris 2014-05-07 12:50:53 -04:00
parent 7011602550
commit 84886942d2

View File

@ -721,6 +721,7 @@ SCGI_DECLARE(scgi_status_t) scgi_parse(scgi_socket_t sock, scgi_handle_t *handle
end:
scgi_safe_free(headers);
scgi_safe_free(body);
return status;
}