diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-06-27 20:37:29 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-06-27 20:37:40 +0200 |
commit | 0055cc0ff65aa85b00d7d57da5ce0ecd6309257e (patch) | |
tree | 3bfaddb94d05f526b7523b101d1463df092d0c91 | |
parent | 803e532c456db05e3b26ee0fc2a119b63f2df4f6 (diff) |
Remove CHECK_MEMORY_LEAKS conditional code
-rw-r--r-- | src/main.c | 7 | ||||
-rw-r--r-- | src/z-virt.h | 4 |
2 files changed, 0 insertions, 11 deletions
@@ -250,9 +250,6 @@ int main(int argc, char *argv[]) int player_uid; -#ifdef CHECK_MEMORY_LEAKS - GC_find_leak = 1; -#endif /* CHECK_MEMORY_LEAKS */ /* Save the "program name" XXX XXX XXX */ @@ -607,10 +604,6 @@ usage: /* Play the game */ play_game(new_game); -#ifdef CHECK_MEMORY_LEAKS - CHECK_LEAKS(); -#endif - /* Quit */ quit(NULL); diff --git a/src/z-virt.h b/src/z-virt.h index a7880f2f..58aed382 100644 --- a/src/z-virt.h +++ b/src/z-virt.h @@ -17,10 +17,6 @@ extern "C" { #include "h-basic.h" -#ifdef CHECK_MEMORY_LEAKS -#include <leak_detector.h> -#endif - /* * Memory management routines. * |