mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 06:41:03 +08:00
00e0957640
Solution: update builds/valgrind/valgrind.supp to ignore glibc's __libc_freeres calls. This code runs after the program exits, and tries to de-allocate memory allocated internally by glibc, so it has nothing to do with libzmq code. This suppression is added by default in newer versions of Valgrind, not yet available on older distributions.
23 lines
266 B
Plaintext
23 lines
266 B
Plaintext
{
|
|
<socketcall_sendto>
|
|
Memcheck:Param
|
|
socketcall.sendto(msg)
|
|
fun:send
|
|
...
|
|
}
|
|
{
|
|
<socketcall_sendto>
|
|
Memcheck:Param
|
|
socketcall.send(msg)
|
|
fun:send
|
|
...
|
|
}
|
|
{
|
|
<glibc_freeres>
|
|
Memcheck:Free
|
|
fun:free
|
|
...
|
|
fun:__libc_freeres
|
|
...
|
|
}
|