google-code-export / wagic

Automatically exported from code.google.com/p/wagic
1 stars 0 forks source link

Deck Editor: Memory leak #336

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
One object (at least) is not correctly cleaned up in the Deck Editor. I'm
suspecting it is the variable "myC" defined in \gamestatedeckviewer.cpp(143)

Detected memory leaks!
Dumping objects ->
{199347} normal block at 0x05A0DBE8, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 90 DB A0 05 F8 6C A0 05 C1 E7 02 00 
{199346} normal block at 0x05A0DB90, 24 bytes long.
 Data: < l  8       u   > F8 6C A0 05 38 DB A0 05 E8 DB A0 05 75 C0 02 00 
{199345} normal block at 0x05A0DB38, 24 bytes long.
 Data: <             )  > E0 DA A0 05 88 DA A0 05 90 DB A0 05 EA 29 02 00 
{199344} normal block at 0x05A0DAE0, 24 bytes long.
 Data: < l  8    l      > F8 6C A0 05 38 DB A0 05 F8 6C A0 05 E4 20 02 00 
{199343} normal block at 0x05A0DA88, 24 bytes long.
 Data: <    (   8   W   > D8 D9 A0 05 28 D9 A0 05 38 DB A0 05 57 14 02 00 
{199342} normal block at 0x05A0DA30, 24 bytes long.
 Data: < l       l  j   > F8 6C A0 05 D8 D9 A0 05 F8 6C A0 05 6A 10 02 00 
{199341} normal block at 0x05A0D9D8, 24 bytes long.
 Data: <        0   i   > 80 D9 A0 05 88 DA A0 05 30 DA A0 05 69 10 02 00 
{199340} normal block at 0x05A0D980, 24 bytes long.
 Data: < l       l  _   > F8 6C A0 05 D8 D9 A0 05 F8 6C A0 05 5F 10 02 00 
{199339} normal block at 0x05A0D928, 24 bytes long.
 Data: <x           D   > 78 D8 A0 05 C8 D7 A0 05 88 DA A0 05 44 10 02 00 
{199338} normal block at 0x05A0D8D0, 24 bytes long.
 Data: < l  x    l  ?   > F8 6C A0 05 78 D8 A0 05 F8 6C A0 05 3F 10 02 00 
{199337} normal block at 0x05A0D878, 24 bytes long.
 Data: <    (       &   > 20 D8 A0 05 28 D9 A0 05 D0 D8 A0 05 26 10 02 00 
{199336} normal block at 0x05A0D820, 24 bytes long.
 Data: < l  x    l      > F8 6C A0 05 78 D8 A0 05 F8 6C A0 05 1F 10 02 00 
{199335} normal block at 0x05A0D7C8, 24 bytes long.
 Data: <    h   (       > 18 D7 A0 05 68 D6 A0 05 28 D9 A0 05 1D 10 02 00 
{199334} normal block at 0x05A0D770, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 18 D7 A0 05 F8 6C A0 05 1B 10 02 00 
{199333} normal block at 0x05A0D718, 24 bytes long.
 Data: <        p       > C0 D6 A0 05 C8 D7 A0 05 70 D7 A0 05 1A 10 02 00 
{199332} normal block at 0x05A0D6C0, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 18 D7 A0 05 F8 6C A0 05 14 10 02 00 
{199331} normal block at 0x05A0D668, 24 bytes long.
 Data: <            j   > 08 D5 A0 05 A8 D3 A0 05 C8 D7 A0 05 6A 0E 02 00 
{199330} normal block at 0x05A0D610, 24 bytes long.
 Data: < l       l  f   > F8 6C A0 05 B8 D5 A0 05 F8 6C A0 05 66 0E 02 00 
{199329} normal block at 0x05A0D5B8, 24 bytes long.
 Data: <`           d   > 60 D5 A0 05 08 D5 A0 05 10 D6 A0 05 64 0E 02 00 
{199328} normal block at 0x05A0D560, 24 bytes long.
 Data: < l       l  a   > F8 6C A0 05 B8 D5 A0 05 F8 6C A0 05 61 0E 02 00 
{199327} normal block at 0x05A0D508, 24 bytes long.
 Data: <X   h       #   > 58 D4 A0 05 68 D6 A0 05 B8 D5 A0 05 23 04 02 00 
{199326} normal block at 0x05A0D4B0, 24 bytes long.
 Data: < l  X    l      > F8 6C A0 05 58 D4 A0 05 F8 6C A0 05 0F 04 02 00 
{199325} normal block at 0x05A0D458, 24 bytes long.
 Data: <                > 00 D4 A0 05 08 D5 A0 05 B0 D4 A0 05 F9 03 02 00 
{199324} normal block at 0x05A0D400, 24 bytes long.
 Data: < l  X    l      > F8 6C A0 05 58 D4 A0 05 F8 6C A0 05 EA FD 01 00 
{199323} normal block at 0x05A0D3A8, 24 bytes long.
 Data: <    (   h       > E8 D0 A0 05 28 CE A0 05 68 D6 A0 05 E4 FD 01 00 
{199322} normal block at 0x05A0D350, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 F8 D2 A0 05 F8 6C A0 05 DF FD 01 00 
{199321} normal block at 0x05A0D2F8, 24 bytes long.
 Data: <    H   P       > A0 D2 A0 05 48 D2 A0 05 50 D3 A0 05 DE FD 01 00 
{199320} normal block at 0x05A0D2A0, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 F8 D2 A0 05 F8 6C A0 05 DD FD 01 00 
{199319} normal block at 0x05A0D248, 24 bytes long.
 Data: <                > 98 D1 A0 05 E8 D0 A0 05 F8 D2 A0 05 DA FD 01 00 
{199318} normal block at 0x05A0D1F0, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 98 D1 A0 05 F8 6C A0 05 CB FD 01 00 
{199317} normal block at 0x05A0D198, 24 bytes long.
 Data: <@   H       R   > 40 D1 A0 05 48 D2 A0 05 F0 D1 A0 05 52 FD 01 00 
{199316} normal block at 0x05A0D140, 24 bytes long.
 Data: < l       l  P   > F8 6C A0 05 98 D1 A0 05 F8 6C A0 05 50 FD 01 00 
{199315} normal block at 0x05A0D0E8, 24 bytes long.
 Data: <        H   M   > 88 CF A0 05 A8 D3 A0 05 48 D2 A0 05 4D FD 01 00 
{199314} normal block at 0x05A0D090, 24 bytes long.
 Data: < l  8    l  K   > F8 6C A0 05 38 D0 A0 05 F8 6C A0 05 4B FD 01 00 
{199313} normal block at 0x05A0D038, 24 bytes long.
 Data: <                > E0 CF A0 05 88 CF A0 05 90 D0 A0 05 10 FB 01 00 
{199312} normal block at 0x05A0CFE0, 24 bytes long.
 Data: < l  8    l      > F8 6C A0 05 38 D0 A0 05 F8 6C A0 05 0C FB 01 00 
{199311} normal block at 0x05A0CF88, 24 bytes long.
 Data: <        8       > D8 CE A0 05 E8 D0 A0 05 38 D0 A0 05 FE FA 01 00 
{199310} normal block at 0x05A0CF30, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 D8 CE A0 05 F8 6C A0 05 F4 FA 01 00 
{199309} normal block at 0x05A0CED8, 24 bytes long.
 Data: <        0       > 80 CE A0 05 88 CF A0 05 30 CF A0 05 F2 FA 01 00 
{199308} normal block at 0x05A0CE80, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 D8 CE A0 05 F8 6C A0 05 ED FA 01 00 
{199307} normal block at 0x05A0CE28, 24 bytes long.
 Data: <h               > 68 CB A0 05 A8 C8 A0 05 A8 D3 A0 05 DD FA 01 00 
{199306} normal block at 0x05A0CDD0, 24 bytes long.
 Data: < l  x    l      > F8 6C A0 05 78 CD A0 05 F8 6C A0 05 DC FA 01 00 
{199305} normal block at 0x05A0CD78, 24 bytes long.
 Data: <                > 20 CD A0 05 C8 CC A0 05 D0 CD A0 05 DB FA 01 00 
{199304} normal block at 0x05A0CD20, 24 bytes long.
 Data: < l  x    l      > F8 6C A0 05 78 CD A0 05 F8 6C A0 05 DA FA 01 00 
{199303} normal block at 0x05A0CCC8, 24 bytes long.
 Data: <    h   x       > 18 CC A0 05 68 CB A0 05 78 CD A0 05 D9 FA 01 00 
{199302} normal block at 0x05A0CC70, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 18 CC A0 05 F8 6C A0 05 D6 FA 01 00 
{199301} normal block at 0x05A0CC18, 24 bytes long.
 Data: <        p       > C0 CB A0 05 C8 CC A0 05 70 CC A0 05 CF FA 01 00 
{199300} normal block at 0x05A0CBC0, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 18 CC A0 05 F8 6C A0 05 CE FA 01 00 
{199299} normal block at 0x05A0CB68, 24 bytes long.
 Data: <    (           > 08 CA A0 05 28 CE A0 05 C8 CC A0 05 C7 FA 01 00 
{199298} normal block at 0x05A0CB10, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 B8 CA A0 05 F8 6C A0 05 C4 FA 01 00 
{199297} normal block at 0x05A0CAB8, 24 bytes long.
 Data: <`               > 60 CA A0 05 08 CA A0 05 10 CB A0 05 C3 FA 01 00 
{199296} normal block at 0x05A0CA60, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 B8 CA A0 05 F8 6C A0 05 B7 FA 01 00 
{199295} normal block at 0x05A0CA08, 24 bytes long.
 Data: <X   h           > 58 C9 A0 05 68 CB A0 05 B8 CA A0 05 B3 FA 01 00 
{199294} normal block at 0x05A0C9B0, 24 bytes long.
 Data: < l  X    l      > F8 6C A0 05 58 C9 A0 05 F8 6C A0 05 AF FA 01 00 
{199293} normal block at 0x05A0C958, 24 bytes long.
 Data: <                > 00 C9 A0 05 08 CA A0 05 B0 C9 A0 05 AC FA 01 00 
{199292} normal block at 0x05A0C900, 24 bytes long.
 Data: < l  X    l      > F8 6C A0 05 58 C9 A0 05 F8 6C A0 05 AB FA 01 00 
{199291} normal block at 0x05A0C8A8, 24 bytes long.
 Data: <    (   (       > E8 C5 A0 05 28 C3 A0 05 28 CE A0 05 9D FA 01 00 
{199290} normal block at 0x05A0C850, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 F8 C7 A0 05 F8 6C A0 05 97 FA 01 00 
{199289} normal block at 0x05A0C7F8, 24 bytes long.
 Data: <    H   P       > A0 C7 A0 05 48 C7 A0 05 50 C8 A0 05 93 FA 01 00 
{199288} normal block at 0x05A0C7A0, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 F8 C7 A0 05 F8 6C A0 05 92 FA 01 00 
{199287} normal block at 0x05A0C748, 24 bytes long.
 Data: <                > 98 C6 A0 05 E8 C5 A0 05 F8 C7 A0 05 91 FA 01 00 
{199286} normal block at 0x05A0C6F0, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 98 C6 A0 05 F8 6C A0 05 90 FA 01 00 
{199285} normal block at 0x05A0C698, 24 bytes long.
 Data: <@   H           > 40 C6 A0 05 48 C7 A0 05 F0 C6 A0 05 8E FA 01 00 
{199284} normal block at 0x05A0C640, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 98 C6 A0 05 F8 6C A0 05 87 FA 01 00 
{199283} normal block at 0x05A0C5E8, 24 bytes long.
 Data: <        H       > 88 C4 A0 05 A8 C8 A0 05 48 C7 A0 05 83 FA 01 00 
{199282} normal block at 0x05A0C590, 24 bytes long.
 Data: < l  8    l      > F8 6C A0 05 38 C5 A0 05 F8 6C A0 05 81 FA 01 00 
{199281} normal block at 0x05A0C538, 24 bytes long.
 Data: <            w   > E0 C4 A0 05 88 C4 A0 05 90 C5 A0 05 77 FA 01 00 
{199280} normal block at 0x05A0C4E0, 24 bytes long.
 Data: < l  8    l  t   > F8 6C A0 05 38 C5 A0 05 F8 6C A0 05 74 FA 01 00 
{199279} normal block at 0x05A0C488, 24 bytes long.
 Data: <        8   s   > D8 C3 A0 05 E8 C5 A0 05 38 C5 A0 05 73 FA 01 00 
{199278} normal block at 0x05A0C430, 24 bytes long.
 Data: < l       l  r   > F8 6C A0 05 D8 C3 A0 05 F8 6C A0 05 72 FA 01 00 
{199277} normal block at 0x05A0C3D8, 24 bytes long.
 Data: <        0   q   > 80 C3 A0 05 88 C4 A0 05 30 C4 A0 05 71 FA 01 00 
{199276} normal block at 0x05A0C380, 24 bytes long.
 Data: < l       l  I   > F8 6C A0 05 D8 C3 A0 05 F8 6C A0 05 49 FA 01 00 
{199275} normal block at 0x05A0C328, 24 bytes long.
 Data: <     l      H   > A8 BD A0 05 F8 6C A0 05 A8 C8 A0 05 48 FA 01 00 
{199274} normal block at 0x05A0C2D0, 24 bytes long.
 Data: < l  x    l  G   > F8 6C A0 05 78 C2 A0 05 F8 6C A0 05 47 FA 01 00 
{199273} normal block at 0x05A0C278, 24 bytes long.
 Data: <            F   > 20 C2 A0 05 C8 C1 A0 05 D0 C2 A0 05 46 FA 01 00 
{199272} normal block at 0x05A0C220, 24 bytes long.
 Data: < l  x    l  D   > F8 6C A0 05 78 C2 A0 05 F8 6C A0 05 44 FA 01 00 
{199271} normal block at 0x05A0C1C8, 24 bytes long.
 Data: <    h   x   <   > 18 C1 A0 05 68 C0 A0 05 78 C2 A0 05 3C FA 01 00 
{199270} normal block at 0x05A0C170, 24 bytes long.
 Data: < l       l  ;   > F8 6C A0 05 18 C1 A0 05 F8 6C A0 05 3B FA 01 00 
{199269} normal block at 0x05A0C118, 24 bytes long.
 Data: <        p   :   > C0 C0 A0 05 C8 C1 A0 05 70 C1 A0 05 3A FA 01 00 
{199268} normal block at 0x05A0C0C0, 24 bytes long.
 Data: < l       l  7   > F8 6C A0 05 18 C1 A0 05 F8 6C A0 05 37 FA 01 00 
{199267} normal block at 0x05A0C068, 24 bytes long.
 Data: <            0   > 08 BF A0 05 A8 BD A0 05 C8 C1 A0 05 30 FA 01 00 
{199266} normal block at 0x05A0C010, 24 bytes long.
 Data: < l       l  .   > F8 6C A0 05 B8 BF A0 05 F8 6C A0 05 2E FA 01 00 
{199265} normal block at 0x05A0BFB8, 24 bytes long.
 Data: <`               > 60 BF A0 05 08 BF A0 05 10 C0 A0 05 1A FA 01 00 
{199264} normal block at 0x05A0BF60, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 B8 BF A0 05 F8 6C A0 05 19 FA 01 00 
{199263} normal block at 0x05A0BF08, 24 bytes long.
 Data: <X   h           > 58 BE A0 05 68 C0 A0 05 B8 BF A0 05 18 FA 01 00 
{199262} normal block at 0x05A0BEB0, 24 bytes long.
 Data: < l  X    l      > F8 6C A0 05 58 BE A0 05 F8 6C A0 05 15 FA 01 00 
{199261} normal block at 0x05A0BE58, 24 bytes long.
 Data: <                > 00 BE A0 05 08 BF A0 05 B0 BE A0 05 0C FA 01 00 
{199260} normal block at 0x05A0BE00, 24 bytes long.
 Data: < l  X    l      > F8 6C A0 05 58 BE A0 05 F8 6C A0 05 08 FA 01 00 
{199259} normal block at 0x05A0BDA8, 24 bytes long.
 Data: <`   (   h       > 60 B4 A0 05 28 C3 A0 05 68 C0 A0 05 FD F9 01 00 
{199258} normal block at 0x05A0BD50, 24 bytes long.
 Data: < l  p    l      > F8 6C A0 05 70 B6 A0 05 F8 6C A0 05 F4 F9 01 00 
{199257} normal block at 0x05A0B670, 24 bytes long.
 Data: <        P       > 18 B6 A0 05 C0 B5 A0 05 50 BD A0 05 F3 F9 01 00 
{199256} normal block at 0x05A0B618, 24 bytes long.
 Data: < l  p    l      > F8 6C A0 05 70 B6 A0 05 F8 6C A0 05 F2 F9 01 00 
{199255} normal block at 0x05A0B5C0, 24 bytes long.
 Data: <    `   p       > 10 B5 A0 05 60 B4 A0 05 70 B6 A0 05 E9 F9 01 00 
{199254} normal block at 0x05A0B568, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 10 B5 A0 05 F8 6C A0 05 E7 F9 01 00 
{199253} normal block at 0x05A0B510, 24 bytes long.
 Data: <        h       > B8 B4 A0 05 C0 B5 A0 05 68 B5 A0 05 D2 F9 01 00 
{199252} normal block at 0x05A0B4B8, 24 bytes long.
 Data: < l       l      > F8 6C A0 05 10 B5 A0 05 F8 6C A0 05 14 B3 00 00 
{199251} normal block at 0x05A0B460, 24 bytes long.
 Data: <            6   > 00 B3 A0 05 A8 BD A0 05 C0 B5 A0 05 36 AA 00 00 
{199250} normal block at 0x05A0B408, 24 bytes long.
 Data: < l       l   |  > F8 6C A0 05 B0 B3 A0 05 F8 6C A0 05 13 7C 00 00 
{199249} normal block at 0x05A0B3B0, 24 bytes long.
 Data: <X           NZ  > 58 B3 A0 05 00 B3 A0 05 08 B4 A0 05 4E 5A 00 00 
{199248} normal block at 0x05A0B358, 24 bytes long.
 Data: < l       l   Y  > F8 6C A0 05 B0 B3 A0 05 F8 6C A0 05 F7 59 00 00 
{199247} normal block at 0x05A0B300, 24 bytes long.
 Data: <P   `        Y  > 50 B2 A0 05 60 B4 A0 05 B0 B3 A0 05 F4 59 00 00 
{199246} normal block at 0x05A0B2A8, 24 bytes long.
 Data: < l  P    l  B;  > F8 6C A0 05 50 B2 A0 05 F8 6C A0 05 42 3B 00 00 
{199245} normal block at 0x05A0B250, 24 bytes long.
 Data: <                > F8 B1 A0 05 00 B3 A0 05 A8 B2 A0 05 85 20 00 00 
{199244} normal block at 0x05A0B1F8, 24 bytes long.
 Data: < l  P    l      > F8 6C A0 05 50 B2 A0 05 F8 6C A0 05 18 0A 00 00 
{199238} normal block at 0x05A07518, 32 bytes long.
 Data: <Res/player/colle> 52 65 73 2F 70 6C 61 79 65 72 2F 63 6F 6C 6C 65 
{199237} normal block at 0x05A06CF8, 24 bytes long.
 Data: <    (           > F8 B1 A0 05 28 C3 A0 05 E8 DB A0 05 CD CD CD CD 
c:\users\erwan\desktop\programming\wth\projects\mtg\src\gamestatedeckviewer.cpp(
143)
: {199235} normal block at 0x05A0B080, 132 bytes long.
 Data: <         u      > 00 00 00 00 CD CD CD CD 18 75 A0 05 CD CD CD CD 
Object dump complete.

Original issue reported on code.google.com by wagic.the.homebrew@gmail.com on 14 Feb 2010 at 2:42

GoogleCodeExporter commented 9 years ago
I'll check it out, thanks.

Original comment by wagic.jeck@gmail.com on 14 Feb 2010 at 5:37

GoogleCodeExporter commented 9 years ago
myC no longer exists. Marking as fixed.

Original comment by wagic.jeck@gmail.com on 15 Feb 2010 at 11:30