Sorry I forgot to say the false positives are for memory leaks ("definitely 
lost").


From: Saurabh T <saur...@hotmail.com>
Sent: Friday, December 18, 2020 9:44 AM
To: Valgrind <valgrind-users@lists.sourceforge.net>
Subject: [Valgrind-users] Malloc/free in different threads 
 
Hi, I believe I am seeing lots of false positives in valgrind if I call free() 
on a different thread from the one that called malloc() - the pointers are 
exchanged between threads safely in between. Is this a known issue, or am I 
doing something wrong? Thank you.

_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to