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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTNews.c b/WWW/Library/Implementation/HTNews.c
index 9f817043..61858d30 100644
--- a/WWW/Library/Implementation/HTNews.c
+++ b/WWW/Library/Implementation/HTNews.c
@@ -108,6 +108,7 @@ typedef struct _NNTPAuth {
    char * pass;
 } NNTPAuth;
 
+#ifdef LY_FIND_LEAKS
 PRIVATE void free_news_globals NOARGS
 {
     if (s >= 0) {
@@ -121,6 +122,7 @@ PRIVATE void free_news_globals NOARGS
     FREE(address);
     FREE(dbuf);
 }
+#endif /* LY_FIND_LEAKS */
 
 PRIVATE void free_NNTP_AuthInfo NOARGS
 {