Projects > cpp > Issues > Bug #2766

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Memory leak in the binding glue code of cc.FileUtils.getStringFromFile(getByteArrayFromFile).

Bug #2766 [Closed]
dumganhar 2013-09-04 06:45 . Updated about 3 years ago

We need to invoke delete[] to release the memory allocated by getFileData.

dumganhar 2013-09-04 09:13
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:225ea7cacea47f576427b5e30218e3f9f992802e.

Atom PDF

Start date:2013-09-04
Due date:
% Done:


Target version:3.0-alpha0

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.