about summary refs log tree commit diff stats
path: root/src/DefaultStyle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/DefaultStyle.c')
-rw-r--r--src/DefaultStyle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DefaultStyle.c b/src/DefaultStyle.c
index c77f0b8f..7a498700 100644
--- a/src/DefaultStyle.c
+++ b/src/DefaultStyle.c
@@ -366,6 +366,7 @@ PRIVATE HTStyleSheet sheet = { "default.style",
 
 PRIVATE HTStyleSheet *result = NULL;
 
+#ifdef LY_FIND_LEAKS
 PRIVATE void FreeDefaultStyle NOARGS
 {
     HTStyle * style;
@@ -375,6 +376,7 @@ PRIVATE void FreeDefaultStyle NOARGS
     }
     FREE(result);
 }
+#endif /* LY_FIND_LEAKS */
 
 PUBLIC HTStyleSheet * DefaultStyle NOARGS
 {