neovim/.valgrind.supp
Thiago de Arruda 7cff10a6c5 test: Add valgrind suppression for libuv memory leak
A memory leak happens in uv_spawn when stdio is set to UV_IGNORE and the child
process fails to start. This only happens when libuv is compiled with gcc and
optimizations enabled(the default).

Compiling with '-O0' removes the leak, but all that can be done right now is
ignore the leak by adding a valgrind suppression.
2014-11-03 21:51:51 -03:00

40 lines
540 B
Plaintext

{
nss_parse_service_list
Memcheck:Leak
fun:malloc
fun:nss_parse_service_list
fun:__nss_database_lookup
}
{
ex_function_1
Memcheck:Leak
fun:malloc
fun:try_malloc
fun:xmalloc
fun:ex_function
}
{
ex_function_2
Memcheck:Leak
fun:realloc
fun:xrealloc
fun:ga_grow
fun:ex_function
}
{
ex_function_3
Memcheck:Leak
fun:malloc
fun:strdup
fun:xstrdup
fun:vim_strsave
fun:ex_function
}
{
uv_spawn_with_optimizations
Memcheck:Leak
fun:malloc
fun:uv_spawn
fun:job_start
}