google-code-export / wagic

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

Memory leak in test suite #424

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Following error while running the test suite in rev 2084:

wth\projects\mtg\src\targetchooser.cpp(290) : {1295252} normal block at 
0x05F5A8A0, 172 bytes long.
 Data: <Xhd             > 58 68 64 00 00 00 00 00 CD CD CD CD CD CD CD CD 
Object dump complete.

this is this line:
      if (!tc){
        if (typeName.compare("*")==0){
          return NEW TargetZoneChooser(zones, nbzones,card, maxtargets,other);

This issue was here in previous revisions too, I believe it was introduced with 
counter changes.

Investigate and fix

Original issue reported on code.google.com by wagic.the.homebrew@gmail.com on 12 Jun 2010 at 6:04

GoogleCodeExporter commented 9 years ago
the leak comes from the test "brainstorm.txt"

Original comment by wagic.the.homebrew@gmail.com on 14 Jun 2010 at 12:34

GoogleCodeExporter commented 9 years ago
fixed in rev 2094

Original comment by wagic.the.homebrew@gmail.com on 14 Jun 2010 at 1:21