2 Replies Latest reply on Dec 8, 2010 3:44 AM by himanshu.gautam

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