Fix bug 142491: allow more --alloc-fn functions (128, up from 32).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6671 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/massif/ms_main.c b/massif/ms_main.c
index dda642f..6c9ab89 100644
--- a/massif/ms_main.c
+++ b/massif/ms_main.c
@@ -250,10 +250,10 @@
// Current directory at startup.
static Char base_dir[VKI_PATH_MAX];
-#define MAX_ALLOC_FNS 32 // includes the builtin ones
+#define MAX_ALLOC_FNS 128 // includes the builtin ones
// First few filled in, rest should be zeroed. Zero-terminated vector.
-static UInt n_alloc_fns = 11;
+static UInt n_alloc_fns = 10;
static Char* alloc_fns[MAX_ALLOC_FNS] = {
"malloc",
"operator new(unsigned)",