Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1226

memory leak in http_tranport_utils.c

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • transport/http
    • None
    • linux fc6

    Description

      Here is the valgrind output that shows the memory leaks:

      ==17334== 176 (32 direct, 144 indirect) bytes in 2 blocks are definitely lost in loss record 83 of 123
      ==17334== at 0x4005858: malloc (vg_replace_malloc.c:207)
      ==17334== by 0x40129DF: axis2_http_status_line_create (http_status_line.c:46)
      ==17334== by 0x40176AC: axis2_http_worker_process_request (http_worker.c:1244)
      ==17334== by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
      ==17334== by 0x405EEE5: dummy_worker (thread_unix.c:93)
      ==17334== by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
      ==17334== by 0x71323D: clone (in /lib/libc-2.5.so)
      ==17334==
      ==17334==
      ==17334== 384 bytes in 10 blocks are definitely lost in loss record 94 of 123
      ==17334== at 0x4005858: malloc (vg_replace_malloc.c:207)
      ==17334== by 0x4051258: axutil_strdup (string.c:282)
      ==17334== by 0x4017D96: axis2_http_transport_utils_get_value_from_content_type (http_transport_utils.c:2197)
      ==17334== by 0x40199F0: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:319)
      ==17334== by 0x4016B03: axis2_http_worker_process_request (http_worker.c:908)
      ==17334== by 0x4123ED0: axis2_svr_thread_worker_func (http_svr_thread.c:259)
      ==17334== by 0x405EEE5: dummy_worker (thread_unix.c:93)
      ==17334== by 0x8E145A: start_thread (in /lib/libpthread-2.5.so)
      ==17334== by 0x71323D: clone (in /lib/libc-2.5.so)

      Attachments

        1. http_transport_utils.patch
          2 kB
          Rajika Kumarasiri

        Activity

          People

            supun Supun Kamburugamuva
            fredericheem Frederic Heem
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: