Skip to content

Commit a4f1d5f

Browse files
committed
right this will leak
1 parent 6d81fec commit a4f1d5f

File tree

1 file changed

+1
-1
lines changed
  • loader/include/Geode/cocos/base_nodes

1 file changed

+1
-1
lines changed

loader/include/Geode/cocos/base_nodes/CCNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ class CC_DLL CCNode : public CCObject
18811881
int m_nUpdateScriptHandler; ///< script handler for update() callback per frame, which is invoked from lua & javascript.
18821882
ccScriptType m_eScriptType; ///< type of script binding, lua or javascript
18831883

1884-
CCComponentContainer *m_pComponentContainer = new CCComponentContainer(this); ///< Dictionary of components
1884+
CCComponentContainer *m_pComponentContainer; ///< Dictionary of components
18851885

18861886
// 2.2 additions
18871887
bool m_bUseChildIndex;

0 commit comments

Comments
 (0)