summaryrefslogtreecommitdiffstats
path: root/memdbg.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-05-25 22:31:25 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-05-25 22:31:25 +0000
commit7c51fe16b435712423dd00145008ab58a95fdc5e (patch)
treed9dc1739d1a2ef2f211f036f08c17a3fc7d6c833 /memdbg.h
parent344ee9181734dcd5a922b8b2a7ebea4ce818a0b0 (diff)
downloadopenvpn-7c51fe16b435712423dd00145008ab58a95fdc5e.tar.gz
openvpn-7c51fe16b435712423dd00145008ab58a95fdc5e.tar.xz
openvpn-7c51fe16b435712423dd00145008ab58a95fdc5e.zip
Fixed a bug in plugin.c that caused openvpn_plugin_client_destructor_v1
to not be called for the top-level "generic" client template. Added additional documentation to openvpn-plugin.h that more clearly illustrates the full sequence and ordering of plugin callbacks (plugin/defer/simple.c was extended to provide the raw data for this documentation). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2973 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'memdbg.h')
-rw-r--r--memdbg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/memdbg.h b/memdbg.h
index 1aa54b3..65f2e2f 100644
--- a/memdbg.h
+++ b/memdbg.h
@@ -47,6 +47,8 @@
#include "valgrind/memcheck.h"
+#define VALGRIND_MAKE_READABLE(addr, len)
+
#else
#define VALGRIND_MAKE_READABLE(addr, len)