From 8979ede45d14195081f1e4fbd3358e7397d4c64f Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 5 Nov 2014 11:18:59 -0300 Subject: test: Add more valgrind "possibly lost" suppressions These valgrind entries are false positives because vim uses interior pointers. --- .valgrind.supp | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/.valgrind.supp b/.valgrind.supp index ec4bd50df5..e76616b85d 100644 --- a/.valgrind.supp +++ b/.valgrind.supp @@ -6,7 +6,7 @@ fun:__nss_database_lookup } { - ex_function_1 + interior_ptr1 Memcheck:Leak fun:malloc fun:try_malloc @@ -14,7 +14,7 @@ fun:ex_function } { - ex_function_2 + interior_ptr2 Memcheck:Leak fun:realloc fun:xrealloc @@ -22,7 +22,7 @@ fun:ex_function } { - ex_function_3 + interior_ptr3 Memcheck:Leak fun:malloc fun:strdup @@ -30,6 +30,52 @@ fun:vim_strsave fun:ex_function } +{ + interior_ptr4 + Memcheck:Leak + fun:malloc + fun:realloc + fun:xrealloc + fun:ga_grow + fun:ex_function +} +{ + interior_ptr5 + Memcheck:Leak + fun:malloc + fun:try_malloc + fun:xmalloc + fun:set_var + fun:set_var_lval +} +{ + interior_ptr6 + Memcheck:Leak + fun:malloc + fun:try_malloc + fun:xmalloc + fun:get_lit_string_tv + fun:eval7 +} +{ + interior_ptr7 + Memcheck:Leak + fun:malloc + fun:strdup + fun:xstrdup + fun:vim_strsave + fun:copy_tv + fun:get_var_tv + fun:eval7 +} +{ + interior_ptr8 + Memcheck:Leak + fun:malloc + fun:try_malloc + fun:xmalloc + fun:dictitem_alloc +} { uv_spawn_with_optimizations Memcheck:Leak -- cgit