From 7f36d675a458b3cf823c977e2cc4b47a6e6c8d4a Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 9 Dec 2010 16:53:40 +0000 Subject: Add Valgrind hooks for memory pools It's useful to tell Valgrind when memory is undefined because it's been freed by store_reset(), and when it's not supposed to be accessed because although it's been allocated for the store it hasn't actually been given out by store_get() yet. --- src/scripts/MakeLinks | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/scripts/MakeLinks') diff --git a/src/scripts/MakeLinks b/src/scripts/MakeLinks index ad4137725..bb6dd494d 100755 --- a/src/scripts/MakeLinks +++ b/src/scripts/MakeLinks @@ -254,6 +254,8 @@ ln -s ../src/verify.c verify.c ln -s ../src/version.c version.c ln -s ../src/dkim.c dkim.c ln -s ../src/dkim.h dkim.h +ln -s ../src/valgrind.h valgrind.h +ln -s ../src/memcheck.h memcheck.h # WITH_CONTENT_SCAN ln -s ../src/spam.c spam.c -- cgit v1.2.3