Fix full_uri memory leak in error path

This commit is contained in:
Julien BLACHE
2010-09-08 19:19:17 +02:00
parent e5ec6c7c4f
commit 535d691a4a
3 changed files with 4 additions and 0 deletions

View File

@@ -839,6 +839,8 @@ rsp_request(struct evhttp_request *req)
if (!uri)
{
rsp_send_error(req, "Server error");
free(full_uri);
return;
}