In "std::string convertToString(const char *filename)" :
str = new char[size+1];
s = str;
s have a new copy of str not a pointer to str,so it's destructor can not delete str.
the same problem is also in" bool SDKFile:pen(const char* fileName) "
Today, I installed the version 2.2, found this bug has been fixed.
These memory leaks have been found internally and fixed.
Retrieving data ...