]> granicus.if.org Git - nethack/commit
fix makedefs
authorPatR <rankin@nethack.org>
Mon, 9 Nov 2015 09:47:18 +0000 (01:47 -0800)
committerPatR <rankin@nethack.org>
Mon, 9 Nov 2015 09:47:18 +0000 (01:47 -0800)
commit9f19b60147ef6ab9053c087309239b14d47ee2ac
tree16953e047d12499c090c252afb79959ee2b439f7
parent26b6bff3d2be20e28acd2f7bb1032691b5e1b32a
fix makedefs

If makedefs.c is compiled with MONITOR_HEAP defined, attempted calls to
free() resulted in link failure.  Since makedefs doesn't use alloc(),
call free() directly instead of redirecting to nhfree().

Also some assorted reformatting....
util/makedefs.c