cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

Fix memory leak on Texture2DGL::getBytes()

Open papatr0x opened this issue 3 years ago • 1 comments

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.

papatr0x avatar Apr 07 '22 03:04 papatr0x

appveyor failed for android and windows due to python issues, not due to this change.

papatr0x avatar Apr 07 '22 14:04 papatr0x