Bjoern Petri created CELIX-179:
----------------------------------

             Summary: memory leak in rsa_http callback
                 Key: CELIX-179
                 URL: https://issues.apache.org/jira/browse/CELIX-179
             Project: Celix
          Issue Type: Bug
          Components: Remote Service Admin
            Reporter: Bjoern Petri
            Assignee: Bjoern Petri
            Priority: Critical


The response of the endpoint is not free'd in the rsa_http:

{code}
char *response = NULL;                                          
export->endpoint->handleRequest(export->endpoint->endpoint, data, &response);

if (response != NULL) {
    mg_write(conn, response_headers, strlen(response_headers));
    mg_write(conn, response, strlen(response));

    result = 1;
}
[...]
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to