]> granicus.if.org Git - nethack/commit
region memory
authornethack.allison <nethack.allison>
Mon, 3 Jul 2006 14:21:21 +0000 (14:21 +0000)
committernethack.allison <nethack.allison>
Mon, 3 Jul 2006 14:21:21 +0000 (14:21 +0000)
commit230d1503506751033ec5a8730b6b385b097f54fd
treee9bc8b6c40882a57b35be05ba29791739b9b0da8
parentb8d744819be1fbdcf10555abf95ccf364fe2f201
region memory

<Someone> wrote on Tuesday, July 27, 2004 at 06:46:15
> In the region.c function rest_regions allocates storage for the possible
> enter_msg and leave_msg strings. But the function free_region does not relese
> this storage.

Also ensures that some code that is currently ifdef'd out
makes copies of the strings into memory from alloc()
to ensure that no problems with free() result if the function
gets passed a literal string.
doc/fixes34.4
src/region.c