mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-28 05:04:16 -05:00
Fix full_uri memory leak in error path
This commit is contained in:
@@ -839,6 +839,8 @@ rsp_request(struct evhttp_request *req)
|
||||
if (!uri)
|
||||
{
|
||||
rsp_send_error(req, "Server error");
|
||||
|
||||
free(full_uri);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user