On 10 November 2013 15:54, Alberto Massari <albertomass...@tiscali.it>wrote:
> Hi Adrian, > you are invoking strtol specifying the threadID variable as the second > argument; this argument will be overwritten to point to the first character > that doesn't belong to the string representation of a number. So, calling > XMLString::release on this will treat that value as the beginning of a > memory buffer, but as it is no more true, the memory manager of your OS > will complain. > Define a new char* variable and use that in the call to strtol, or specify > NULL > Thanks for that, should have worked that out myself!