Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12455) timer leak in ai_manage_taxes
Home

[Freeciv-Dev] (PR#12455) timer leak in ai_manage_taxes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12455) timer leak in ai_manage_taxes
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Mar 2005 14:18:25 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12455 >

==4493== 672 bytes in 21 blocks are definitely lost in loss record 10 of 16
==4493==    at 0x1B906EDD: malloc (vg_replace_malloc.c:131)
==4493==    by 0x804BA66: fc_real_malloc (mem.c:75)
==4493==    by 0x804E432: renew_timer (timing.c:189)
==4493==    by 0x804E461: renew_timer_start (timing.c:206)
==4493==    by 0x804E3CF: new_timer_start (timing.c:168)
==4493==    by 0x810CD4C: ai_manage_taxes (aihand.c:102)
==4493==    by 0x810D72B: ai_do_last_activities (aihand.c:409)
==4493==    by 0x805027F: end_phase (srv_main.c:613)
==4493==    by 0x8051D03: main_loop (srv_main.c:1607)
==4493==    by 0x8051DF4: srv_main (srv_main.c:1685)
==4493==    by 0x804A638: main (civserver.c:242)

Either the timer pointer should be static or it must be freed.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12455) timer leak in ai_manage_taxes, Jason Short <=