Hi,
two things.
1.There's a memleak in TinyXML:
char* buf = new char[ length+1 ]; buf[0] = 0; if ( fread( buf, length, 1, file ) != 1 ) { delete[] buf; <--- is missing SetError(...); return false; }
2. I changed version 1.4.3 so that it can be compiled for WinCE with TChar support. If you're interested in my changes I can send the new source.
Regards, Andre
This is a bit overdue, but this is fixed in CVS for anyone who needs it.
Thanks for the bug!
lee
Log in to post a comment.
Hi,
two things.
1.There's a memleak in TinyXML:
char* buf = new char[ length+1 ];
buf[0] = 0;
if ( fread( buf, length, 1, file ) != 1 )
{
delete[] buf; <--- is missing
SetError(...);
return false;
}
2. I changed version 1.4.3 so that it can be compiled for WinCE with TChar support.
If you're interested in my changes I can send the new source.
Regards,
Andre
This is a bit overdue, but this is fixed in CVS for anyone who needs it.
Thanks for the bug!
lee