Follow-up Comment #1, bug #15519 (project freeciv):

The function this points to has the following code:

void ai_settler_init(struct player *pplayer)
  cachemap = fc_realloc(cachemap, MAP_INDEX_SIZE * sizeof(*cachemap));
  memset(cachemap, -1, MAP_INDEX_SIZE * sizeof(*cachemap));

The cachemap is only used within this file. Could it be that valgrind reports
this due to the fact that this memory is never freed within the code but

Related (solved) bug wrt other reallocated pointers: bugs #15305


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to