# Memory Leaks at closing

**URL:** <https://forum.juce.com/t/memory-leaks-at-closing/10579>\
**Category:** General JUCE discussion\
**Created:** [June 10, 2013, 11:46am UTC](https://forum.juce.com/t/memory-leaks-at-closing/10579 "2013-06-10T11:46:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![themerx](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@themerx](https://forum.juce.com/u/themerx)\
**Post date:** [June 10, 2013, 11:46am UTC](https://forum.juce.com/t/memory-leaks-at-closing/10579/1 "2013-06-10T11:46:26Z")

</div>

Hello,

I have a problem. When I close my application, I´ll get these messages (first two lines are German):

[list]  
Der Thread ‘Win32-Thread’ (0x2318) hat mit Code 0 (0x0) geendet.  
Der Thread ‘Juce Timer’ (0x19e8) hat mit Code 0 (0x0) geendet.  
Detected memory leaks!  
Dumping objects -\>  
{393} normal block at 0x03B12740, 12 bytes long.  
Data: \<\ \> 5C FD E2 0F 01 00 00 00 00 00 00 00  
{344} normal block at 0x03B12270, 16 bytes long.  
Data: \<d ! \> 64 DA E1 0F 01 00 00 00 00 00 00 00 80 21 B1 03  
{338} normal block at 0x03B11EB0, 16 bytes long.  
Data: 64 DA E1 0F 01 00 00 00 00 00 00 00 A0 1D B1 03  
Object dump complete.  
[/list]

I tried a lot to find the leaks. For example with “\_CrtSetBreakAlloc(338);” this is the result and I don´t know why…

![](http://image-upload.de/image/wnKSvF/98cc9ffab6.png)

I decrease the content of my PluginEditor class till it was empty but it changed nothing. The leaks are still there. What can I do to fix it?

Greetz from Germany  
T.
