Projects > cpp > Issues > Bug #495

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

Create Issue on Github

Memory leak of CCFileUtils::getWriteablePath()

Bug #495 [Closed]
zhangxm 2011-05-17 19:32 . Updated over 4 years ago

getPackageNameJNI() returns an array of char, but CCFileUtils::getWriteablePath() use “delete” to free memory, which only free the first element of the array.

zhangxm 2011-05-17 19:50
  • Status changed from New to Accepted
  • Assignee set to zhangxm
walzer@cocos2d-x.org 2011-05-18 09:00
  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:74501d1b9230a48c31f1fe420f3351ee9aec1200.

zhangxm 2011-05-18 09:00

Applied in changeset commit:f6759eb7bec85b74b28ff70ce443c572df58ac1e.

walzer@cocos2d-x.org 2011-05-18 18:41
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2011-05-20 06:34
  • Target version changed from cocos2d-1.0.0-x-0.9.0 to cocos2d-0.99.5-x-0.8.4
walzer@cocos2d-x.org 2012-05-25 08:11
  • Project changed from cocos2d-x to cpp
  • Category deleted (2)
  • Target version deleted (cocos2d-0.99.5-x-0.8.4)

Atom PDF

Status:Closed
Start date:2011-05-17
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

100%

Category:-
Target version:-

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