summaryrefslogtreecommitdiff
path: root/package/openswan/openswan-2.4.9-004-alloc.patch
blob: 8df99234a447e1157e92be883bce9f80b47e2fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- openswan-2.4.7.orig/lib/libopenswan/alloc.c	2004-10-17 01:42:13.000000000 +0200
+++ openswan-2.4.7/lib/libopenswan/alloc.c	2006-11-28 16:06:27.000000000 +0100
@@ -26,7 +26,9 @@
 #include "constants.h"
 #include "oswlog.h"
 
+#if !defined(NO_DEBUG)
 #define LEAK_DETECTIVE
+#endif
 #include "oswalloc.h"
 
 const chunk_t empty_chunk = { NULL, 0 };