axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Zhang <szh...@altigen.com>
Subject Re: Memory leak report for Axis2c 1.4 - one more
Date Thu, 15 May 2008 23:35:16 GMT
One more memory leak:
    src\core\transport\http\sender\http_client.c: 
axis2_http_client_recieve_header(), line 486, status_line pointer.
There is a while loop to receive and parse multiple status lines from HTTP 
header into status_line pointer, howerver this pointer is freed for only 
once at line 552.

I downloaded release 1.4 at May 9th, I think it should be the formal 
version.

Steven Zhang


----- Original Message ----- 
From: "Samisa Abeysinghe" <samisa@wso2.com>
To: "Apache AXIS C User List" <axis-c-user@ws.apache.org>
Sent: Thursday, May 15, 2008 3:34 PM
Subject: Re: Memory leak report for Axis2c 1.4


Steven Zhang wrote:
> Hi:
> I just finded memory leak in Axis2 1.4 GUTHTHILA:
> 1. guththila_xml_read_wrapper.c:
> guththila_xml_reader_wrapper_xml_free(), line 581, call to
> AXIS2_FREE() for string buffer was commented, cause tens K memory leak
> for each request. Why this one is commented?
>
> 2. guththila_xml_writer.c:
> guththila_write_empty_element_with_prefix_and_namespace(), line 1694.
> When nmsp_found is FALSE, namesp pointer will be pushed into stack,
> however when it's FALSE, namesp pointer will not be used and not be
> freed.

I thought we fixed all the leaks before the release. What is the code
you are using to test for leaks? Did you try with echo sample?

Samisa...

>
> Am I correct?
>
> Thanks.
> Steven Zhang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 269.23.16/1434 - Release Date: 
> 5/15/2008 7:24 AM
>


--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message