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:
Martin Willi
2012-07-11 08:45:15 +02:00
parent 07836f559d
commit 7c8b9fcbf6
+1
View File
@@ -188,6 +188,7 @@ static void uninstall_hooks()
char *whitelist[] = {
/* backtraces, including own */
"backtrace_create",
"safe_strerror",
/* pthread stuff */
"pthread_create",
"pthread_setspecific",