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

Robert Lazarski resolved AXIS2C-1595.
-------------------------------------
    Fix Version/s: 2.0.0
                       (was: 1.7.0)
       Resolution: Implemented


● This issue has already been fixed. The memory leaks from axutil_tokenize() in 
http_worker.c were addressed as part of the AXIS2C-1702. 

> Memory leak in src/core/transport/http/common/http_worker.c: array_list 
> allocated by axutil_tokenize()
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1595
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>            Reporter: Ivan Pechorin
>            Priority: Major
>              Labels: patch
>             Fix For: 2.0.0
>
>         Attachments: axis2-c-http_worker-arraylist-leak.diff, 
> axis2-c-http_worker-request_params.diff
>
>
> There are 3 places in src/core/transport/http/common/http_worker.c where 
> axutil_tokenize() is called, but the axutil_array_list_t allocated inside it 
> is not freed.
> HP aC++ on HP-UX reports these leaks with the same call stacks:
> These range in size from 80 to 80 bytes and are allocated
> #0  axutil_allocator_malloc_impl() at allocator.c:99
> #1  axutil_array_list_create() at array_list.c:57
> #2  axutil_tokenize() at string_util.c:40
> #3  axis2_http_worker_process_request() at http_worker.c:312
> 80 bytes leaked at 0x60000000013b3f10 (0.18% of all bytes leaked)
> #0  axutil_allocator_malloc_impl() at allocator.c:99
> #1  axutil_array_list_create() at array_list.c:57
> #2  axutil_tokenize() at string_util.c:40
> #3  axis2_http_worker_process_request() at http_worker.c:350
> 80 bytes leaked at 0x60000000013b3f10 (0.18% of all bytes leaked)
> #0  axutil_allocator_malloc_impl() at allocator.c:99
> #1  axutil_array_list_create() at array_list.c:57
> #2  axutil_tokenize() at string_util.c:40
> #3  axis2_http_worker_process_request() at http_worker.c:395



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to