2 Replies Latest reply on Sep 15, 2011 4:55 PM by lbin

    Memory Leak in clCreateKernelsInProgram


      I can't figure out what's causing the memory leak in this case.

      The profiler comes back with the message: Memory leak detected [Ref = 1, Handle = CL_SUCCESS]: Object created by clCreateKernelsInProgram.

      Then the actual line is errorCheck(clCreateKernelsInProgram(program, 1, &kernel, &numKernels), "9 - creating kernel");

      What does it want me to free?