Skip to content

Commit 4b2dac9

Browse files
vstinnerestyxx
authored andcommitted
pythongh-121096: Ignore dlopen() leaks in Valgrind suppression file (python#121097)
1 parent b4ff32a commit 4b2dac9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

Misc/valgrind-python.supp

+43
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,49 @@
9595
fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
9696
}
9797

98+
#
99+
# Leaks: dlopen() called without dlclose()
100+
#
101+
102+
{
103+
dlopen() called without dlclose()
104+
Memcheck:Leak
105+
fun:malloc
106+
fun:malloc
107+
fun:strdup
108+
fun:_dl_load_cache_lookup
109+
}
110+
{
111+
dlopen() called without dlclose()
112+
Memcheck:Leak
113+
fun:malloc
114+
fun:malloc
115+
fun:strdup
116+
fun:_dl_map_object
117+
}
118+
{
119+
dlopen() called without dlclose()
120+
Memcheck:Leak
121+
fun:malloc
122+
fun:*
123+
fun:_dl_new_object
124+
}
125+
{
126+
dlopen() called without dlclose()
127+
Memcheck:Leak
128+
fun:calloc
129+
fun:*
130+
fun:_dl_new_object
131+
}
132+
{
133+
dlopen() called without dlclose()
134+
Memcheck:Leak
135+
fun:calloc
136+
fun:*
137+
fun:_dl_check_map_versions
138+
}
139+
140+
98141
#
99142
# Non-python specific leaks
100143
#

0 commit comments

Comments
 (0)