summaryrefslogtreecommitdiff
path: root/package/openswan/openswan-2.4.9-004-alloc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/openswan-2.4.9-004-alloc.patch')
-rw-r--r--package/openswan/openswan-2.4.9-004-alloc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openswan/openswan-2.4.9-004-alloc.patch b/package/openswan/openswan-2.4.9-004-alloc.patch
new file mode 100644
index 000000000..8df99234a
--- /dev/null
+++ b/package/openswan/openswan-2.4.9-004-alloc.patch
@@ -0,0 +1,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 };