URL:
  <http://gna.org/bugs/?11664>

                 Summary: Massive leaks in astar.c
                 Project: Warzone Resurrection Project
            Submitted by: None
            Submitted on: Thursday 05/08/2008 at 21:32 CEST
                Category: AI
                Severity: 5 - Blocker
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: buggy
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn/trunk
        Operating System: All
         Planned Release: None

    _______________________________________________________

Details:

In fpathTableReset(), there is a very weird if statement that is the cause of
tons of leaks:

if (resetIterationCount < INT_MAX - 1)
...
 on this system, INT_MAX  =  2147483647.

Thus we only really free when the counter is at 2147483646?
This can't be what you wanted, and is causing me to fall asleep waiting for
it to output all the leaks in astar.c.

Is there a reason why we changed from a linked list to a 2D array for this
stuff?










    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11664>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to