cocos2d-x
cocos2d-x copied to clipboard
Fix memory leak on Texture2DGL::getBytes()
When using Texture2DGL::getBytes() on flipped images, only memory for flipped image is being released and original image memory is not. This pull fix this issue freeing original image in all cases.
appveyor failed for android and windows due to python issues, not due to this change.