Ken Giusti created DISPATCH-1963:
------------------------------------

             Summary: Memory leak in http1 adaptor
                 Key: DISPATCH-1963
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1963
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Protocol Adaptors
    Affects Versions: 1.15.0
            Reporter: Ken Giusti
            Assignee: Ken Giusti
             Fix For: 1.16.0


*** CID 366543:  Resource leaks  (RESOURCE_LEAK)
 /qpid-dispatch/src/adaptors/http1/http1_server.c: 1251 in 
_send_request_headers()
 1245             return PN_REJECTED;
 1246         }
 1247     
 1248         method_str = (char*) qd_iterator_copy(method_iter);
 1249         qd_iterator_free(method_iter);
 1250         if (!method_str || *method_str == 0) {
 >>>     CID 366543:  Resource leaks  (RESOURCE_LEAK)
 >>>     Variable "method_str" going out of scope leaks the storage it points 
 >>>to.
 1251             return PN_REJECTED;
 1252         }
 1253     
 1254         // target, version info and other headers are in the app 
properties
 1255         qd_iterator_t *app_props_iter = qd_message_field_iterator(msg, 
QD_FIELD_APPLICATION_PROPERTIES);
 1256         if (!app_props_iter) {



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to