Re: [xml] libxml memory problem.....
- From: "William M. Brack" <wbrack mmm com hk>
- To: "Matt White" <matt white albertsons com>, <xml gnome org>
- Subject: Re: [xml] libxml memory problem.....
- Date: Sat, 29 Sep 2001 00:49:13 +0800
----- Original Message -----
From: "Matt White" <matt white albertsons com>
To: <xml gnome org>
Sent: Monday, September 24, 2001 3:18 PM
Subject: [xml] libxml memory problem.....
I've been working on a project using libxml2-2.2.7 (which was current at
the
time my project began (I'm running it on two different platforms: Solaris
2.7 x86 and AT&T SVR4 3.02).
I corrected one error in your program [you did a "free(*buf)" instead of
free(buf)], then ran it with the current version (libxml2-2.4.5) under
Linux 2.4.9. Seems there is no problem at this time:
billrouter:/usr/projects/work# ./mwhite_bug
xmlMemUsed at start = 0
buf[219]=
<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encod
ingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP:Body><foobar>cont
ent<
/foobar></SOAP:Body></SOAP:Envelope>
xmlMemUsed at end = 0 : is this amount leaked ?
billrouter:/usr/projects/work#
Regards,
William Brack
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]