Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#47 closed task (fixed (in master))

Audit memory code

Reported by: takkaria Owned by: takkaria
Milestone: 3.1.0 Keywords: cleanup
Cc:

Description (last modified by takkaria)

  • make sure that all error-checking is done in z-virt
  • add realloc hook
  • string_make() should *not* return const.
  • audit macros:
    • macros that assign to one of their paramaters (KILL(), MAKE(), C_MAKE()) should be removed
    • nuke SIZE()
    • nuke the "type" param, instead use sizeof variable?
  • consider replacing string_make() with my_strdup() (prefix concerns, see #135)
  • think about everything listed at http://ajps.mine.nu/angband/wiki/Cleanup#s2_1.

Change History (6)

comment:1 Changed 10 years ago by takkaria

  • Milestone changed from Future to 3.1.0

comment:2 Changed 10 years ago by takkaria

  • Description modified (diff)
  • Milestone changed from 3.1.0 to 3.0.9
  • Summary changed from Add realloc-style function to z-virt to Audit memory code
  • Type changed from feature to task

comment:3 Changed 10 years ago by takkaria

  • Keywords cleanup added

comment:4 Changed 10 years ago by takkaria

  • Owner set to takkaria
  • Status changed from new to assigned

comment:6 Changed 10 years ago by takkaria

  • Resolution set to fixed
  • Status changed from assigned to closed

see [37f221c] (SVN r346).

comment:7 Changed 9 years ago by takkaria

  • Milestone changed from 3.2.0 to 3.1.0
Note: See TracTickets for help on using tickets.