[Axl] [BUG] memory leaks

Francis Brosnan Blazquez francis at aspl.es
Mon Apr 7 11:02:36 CEST 2008

> Hello,

Hi Benoit,

> I found some memory leaks in __axl_doc_parse_common
> at axl_doc.c:1048 a new stream is allocated
> then at axl_doc.c:1052 a new document is allocated
> Soon after, there are several checks for errors, but when those fail,
> no 
> clean up is done on those two pointers
> (see axl_stream_detect_codification or axl_doc_parse_xml_header)
> Those leaks were found because I don't manage to use latest axl trunk 
> properly. During any connection, I get the following message:
> "(proc 2932): (critical) vortex-connection: found an error while
> parsing 
> greetings message: unable to detect encoding format, failed to detect 
> encoding format"
> I'm not sure yet how to fix it.

There is an ongoing modification inside the axl engine to better support
encoding formats. In the meantime try to checkout the revision r3342.


> Thanks,
> Benoît AMIAUX
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.

More information about the Axl mailing list