During the OpenCL test I came across a memory leak. This patch will solve it. I also looked to all other CMP_nodes but only the rotate had the leak. http://projects.blender.org/tracker/?func=detail&aid=23537&group_id=9&atid=127 Jeroen.