about summary refs log tree commit diff stats
path: root/src/LYCookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCookie.c')
-rw-r--r--src/LYCookie.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index 2fd26e6d..3eedd8c2 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -165,6 +165,7 @@ PRIVATE void freeCookie ARGS1(
     }
 }
 
+#ifdef LY_FIND_LEAKS
 PRIVATE void LYCookieJar_free NOARGS
 {
     HTList *dl = domain_list;
@@ -195,6 +196,7 @@ PRIVATE void LYCookieJar_free NOARGS
     HTList_delete(domain_list);
     domain_list = NULL;
 }
+#endif /* LY_FIND_LEAKS */
 
 /*
 **  Compare two hostnames as specified in Section 2 of: