Add safe_strerror() to leak detective whitelist
While the thread specific strerror buffer gets cleaned up for worker threads during their termination, the main thread itself, and so its strerror buffer, is still alive during leak reports.
This commit is contained in:
1 parent
07836f559d
commit
7c8b9fcbf6
1 file changed
+1
@@ -188,6 +188,7 @@ static void uninstall_hooks()
|
||||
char *whitelist[] = {
|
||||
/* backtraces, including own */
|
||||
"backtrace_create",
|
||||
"safe_strerror",
|
||||
/* pthread stuff */
|
||||
"pthread_create",
|
||||
"pthread_setspecific",
|
||||
|
||||
Reference in new issue
Block a user