cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

panphone
Journeyman III

There are memory leak in OpenCLSample

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) "



0 Likes
2 Replies
panphone
Journeyman III

Today, I installed the  version 2.2, found this bug has been fixed.

0 Likes

Yes.

These memory leaks have been found internally and fixed.

0 Likes