mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
valgrind: Ignore PCRE.compile regexps stored in a global variable.
This commit is contained in:
@@ -171,6 +171,17 @@
|
||||
fun:caml_build_primitive_table
|
||||
}
|
||||
|
||||
# The OCaml PCRE.compile function calls pcre_compile2 which allocates
|
||||
# memory. If these regexps are stored in a global variable then they
|
||||
# can never be freed. This is not really a bug, so ignore it.
|
||||
{
|
||||
ocaml_pcre_globals
|
||||
Memcheck:Leak
|
||||
fun:malloc
|
||||
fun:pcre_compile2
|
||||
...
|
||||
}
|
||||
|
||||
# glibc
|
||||
{
|
||||
glibc_cond
|
||||
|
||||
Reference in New Issue
Block a user