[ 
https://issues.apache.org/jira/browse/AXIS2C-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supun Kamburugamuva resolved AXIS2C-1226.
-----------------------------------------

    Resolution: Fixed
      Assignee: Supun Kamburugamuva

Patch applied. Thanks Rajika for the patch and Frederic for testing.

> memory leak in http_tranport_utils.c
> ------------------------------------
>
>                 Key: AXIS2C-1226
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1226
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: linux fc6
>            Reporter: Frederic Heem
>            Assignee: Supun Kamburugamuva
>         Attachments: http_transport_utils.patch
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to