Menu

TinyXML under WindowsCE

Developer
Andre
2006-01-31
2013-05-20
  • Andre

    Andre - 2006-01-31

    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

     
    • Lee Thomason

      Lee Thomason - 2006-03-14

      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.