diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-03 16:05:47 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-03 21:51:51 -0300 |
commit | 7cff10a6c56c662104cb1f9145ab45c94da4862d (patch) | |
tree | 4983dddb60c235c9ac63a962037df1c53974b003 | |
parent | c9cc2aa53d3adcef813d56107058d4b261488f66 (diff) | |
download | rneovim-7cff10a6c56c662104cb1f9145ab45c94da4862d.tar.gz rneovim-7cff10a6c56c662104cb1f9145ab45c94da4862d.tar.bz2 rneovim-7cff10a6c56c662104cb1f9145ab45c94da4862d.zip |
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.
-rw-r--r-- | .valgrind.supp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.valgrind.supp b/.valgrind.supp index f788030151..ec4bd50df5 100644 --- a/.valgrind.supp +++ b/.valgrind.supp @@ -30,3 +30,10 @@ fun:vim_strsave fun:ex_function } +{ + uv_spawn_with_optimizations + Memcheck:Leak + fun:malloc + fun:uv_spawn + fun:job_start +} |