Can't find my memory leak

Hey, guys! I've been checking my program and found lots of them :S But I can't see where the problem is coming from.


Detected memory leaks!
Dumping objects ->
{387} normal block at 0x0056C5F0, 8 bytes long.
 Data: <  V     > 98 C4 56 00 00 00 00 00 
{386} normal block at 0x0056C5A8, 8 bytes long.
 Data: <| V     > 7C C4 56 00 00 00 00 00 
{385} normal block at 0x0056BBC0, 8 bytes long.
 Data: <` V     > 60 C4 56 00 00 00 00 00 
{384} normal block at 0x0056C460, 96 bytes long.
 Data: <  V GZGZ wn     > C0 BB 56 00 47 5A 47 5A 00 77 6E 00 CD CD CD CD 
{343} normal block at 0x0056C418, 8 bytes long.
 Data: <  V     > 10 C2 56 00 00 00 00 00 
{342} normal block at 0x0056C3D0, 8 bytes long.
 Data: <  V     > F4 C1 56 00 00 00 00 00 
{341} normal block at 0x0056C388, 8 bytes long.
 Data: <  V     > D8 C1 56 00 00 00 00 00 
{340} normal block at 0x0056C1D8, 96 bytes long.
 Data: <  V TMZ own     > 88 C3 56 00 54 4D 5A 00 6F 77 6E 00 CD CD CD CD 
{324} normal block at 0x0056C0F0, 8 bytes long.
 Data: <P V     > 50 A0 56 00 00 00 00 00 
{323} normal block at 0x0056C0A8, 8 bytes long.
 Data: <4 V     > 34 A0 56 00 00 00 00 00 
{322} normal block at 0x0056BF88, 8 bytes long.
 Data: <  V     > 18 A0 56 00 00 00 00 00 
{321} normal block at 0x0056A018, 96 bytes long.
 Data: <  V Rickard S   > 88 BF 56 00 52 69 63 6B 61 72 64 20 53 00 CD CD 
{305} normal block at 0x0056BCA8, 8 bytes long.
 Data: <X V     > 58 BB 56 00 00 00 00 00 
{304} normal block at 0x0056BC60, 8 bytes long.
 Data: << V     > 3C BB 56 00 00 00 00 00 
{303} normal block at 0x00569920, 8 bytes long.
 Data: <  V     > 20 BB 56 00 00 00 00 00 
{302} normal block at 0x0056BB20, 96 bytes long.
 Data: <  V John P      > 20 99 56 00 4A 6F 68 6E 20 50 00 00 CD CD CD CD 
{273} normal block at 0x0056BAD8, 8 bytes long.
 Data: <  V     > D0 B8 56 00 00 00 00 00 
{272} normal block at 0x0056BA90, 8 bytes long.
 Data: <  V     > B4 B8 56 00 00 00 00 00 
{271} normal block at 0x0056BA48, 8 bytes long.
 Data: <  V     > 98 B8 56 00 00 00 00 00 
{270} normal block at 0x0056B898, 96 bytes long.
 Data: <H V Viktor P    > 48 BA 56 00 56 69 6B 74 6F 72 20 50 00 CD CD CD 
{254} normal block at 0x0056B7B0, 8 bytes long.
 Data: <  V     > A8 B5 56 00 00 00 00 00 
{253} normal block at 0x0056B768, 8 bytes long.
 Data: <  V     > 8C B5 56 00 00 00 00 00 
{252} normal block at 0x0056B720, 8 bytes long.
 Data: <p V     > 70 B5 56 00 00 00 00 00 
{251} normal block at 0x0056B570, 96 bytes long.
 Data: <  V Johannes E  > 20 B7 56 00 4A 6F 68 61 6E 6E 65 73 20 45 00 CD 
{235} normal block at 0x0056B488, 8 bytes long.
 Data: <  V     > 90 B3 56 00 00 00 00 00 
{234} normal block at 0x0056B440, 8 bytes long.
 Data: <t V     > 74 B3 56 00 00 00 00 00 
{233} normal block at 0x0056B3F8, 8 bytes long.
 Data: <X V     > 58 B3 56 00 00 00 00 00 
{232} normal block at 0x0056B358, 96 bytes long.
 Data: <  V Tony S      > F8 B3 56 00 54 6F 6E 79 20 53 00 00 CD CD CD CD 
Object dump complete.


Here's the code:
http://pastebin.com/f1JPARN6
Last edited on
Found it, it was the delete tempTwo; that was missing :)
Topic archived. No new replies allowed.