about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTNews.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTNews.c')
-rw-r--r--WWW/Library/Implementation/HTNews.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTNews.c b/WWW/Library/Implementation/HTNews.c
index 61858d30..5b16ee3c 100644
--- a/WWW/Library/Implementation/HTNews.c
+++ b/WWW/Library/Implementation/HTNews.c
@@ -213,7 +213,9 @@ PRIVATE BOOL initialize NOARGS
 #endif /* NeXTStep */
 
     s = -1;		/* Disconnected */
+#ifdef LY_FIND_LEAKS
     atexit(free_news_globals);
+#endif
     return YES;
 }
 
@@ -343,7 +345,9 @@ PRIVATE NNTPAuthResult HTHandleAuthInfo ARGS1(
 	}
     } else {
 	NNTP_AuthInfo = HTList_new();
+#ifdef LY_FIND_LEAKS
 	atexit(free_NNTP_AuthInfo);
+#endif
     }
 
     /*