Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1963

Memory leak in http1 adaptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.15.0
    • 1.17.0
    • Protocol Adaptors

    Description

          • 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) {

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: