I encounter glReadPixels memory leak issue.Please See the image attached
Screen Shot 2014-08-20 at 2.03.55 PM.jpg
notice the area marked with red lines.malloc free pair memory is OK,but an extra 3M memory is allocated by glReadPixels, I have read from doc glReadPixels official doc
which has not mentioned any mem alloc information by glReadPixels. So,does glReadPixels really allocate memory.If so, how to free it?