From: Thomas G. <to...@gm...> - 2013-03-03 00:20:32
|
Am 2013-03-03 00:49, schrieb Zhitao Li: > I have seem [1], and I don't think it is caused by the linking problem, I > check and experimented the cmake parameter, it's more likely the > implementation of the function in visual studio that's causing it. (the > malloc() within the strdup() is probably using a different heap than the > outside free()) As I normally don't use Windows/VS I don't know if this is really possible. Anyhow, I have just pushed a fix which replaces the manual string copying with directly using std::string. Please test if this also solves your problem. Tom -- Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org ------------------------------------------------------------------------ Student of Computer Science @ Graz University of Technology ------------------------------- Austria -------------------------------- |