From 1a5f1bcff0a63cc3e8273a9e3ccc990be40dc06a Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Sun, 19 May 2013 20:16:20 +0200
Subject: [PATCH] configure: add more allocation functions to valgrind-massif

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 6fe79454c46..c97d98c11d7 100755
--- a/configure
+++ b/configure
@@ -2517,7 +2517,7 @@ case "$toolchain" in
     ;;
     valgrind-massif)
         target_exec_default=${valgrind:-"valgrind"}
-        target_exec_args="--tool=massif --alloc-fn=av_malloc --alloc-fn=av_mallocz"
+        target_exec_args="--tool=massif --alloc-fn=av_malloc --alloc-fn=av_mallocz --alloc-fn=av_calloc --alloc-fn=av_fast_padded_malloc --alloc-fn=av_fast_malloc --alloc-fn=av_realloc_f --alloc-fn=av_fast_realloc --alloc-fn=av_realloc"
     ;;
     valgrind-memcheck)
         target_exec_default=${valgrind:-"valgrind"}
-- 
GitLab