# Edit Mode Memory Leak

**URL:** <https://forums.unrealengine.com/t/edit-mode-memory-leak/486275>\
**Category:** Community & Industry Discussion\
**Tags:** memory-leak, engine-tools, mode, unreal-engine, Tools, editor, question\
**Created:** [July 16, 2021, 8:02am UTC](https://forums.unrealengine.com/t/edit-mode-memory-leak/486275 "2021-07-16T08:02:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roshan\_Ex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@roshan\_Ex](https://forums.unrealengine.com/u/roshan_Ex)\
**Post date:** [July 16, 2021, 8:02am UTC](https://forums.unrealengine.com/t/edit-mode-memory-leak/486275/1 "2021-07-16T08:02:14Z")

</div>

FSkeletalAnimationTrackEditMode::FSkeletalAnimationTrackEditMode()  
: bIsTransacting(false)  
, bManipulatorMadeChange(false)  
, RootTransform(FTransform::Identity)  
{  
FSkeletalAnimationTrackEditModeTool\* EdModeTool = new FSkeletalAnimationTrackEditModeTool(this);

```
	Tools.Add(EdModeTool);
	SetCurrentTool(EdModeTool);
}

FSkeletalAnimationTrackEditMode::~FSkeletalAnimationTrackEditMode()
{
}

```

add tools by new but without delete. There are also have many others edit mode tools, new tool but didn’t call delete!  
I set the break point on tool’s destruction function, but it never hit.  
I hope i’m wrong!

---

<div class="post-metadata">

**Author:** ![roshan\_Ex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@roshan\_Ex](https://forums.unrealengine.com/u/roshan_Ex)\
**Post date:** [July 19, 2021, 8:16am UTC](https://forums.unrealengine.com/t/edit-mode-memory-leak/486275/2 "2021-07-19T08:16:20Z")

</div>

Hello, anybody here!
