cocos2d-x / cocos2dx-win8

102 stars 66 forks source link

Fix memory leak when loading music #15

Closed Obg1 closed 12 years ago

Obg1 commented 12 years ago

I've added code to release the memory allocated for music. Currently it isn't released. If you switch between two scene playing different music, it will cause a very large memory leak.

lihex commented 12 years ago

thx Obg1 , I merged it.