aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-28 13:16:36 +0000
committerMartin Willi <martin@strongswan.org>2008-03-28 13:16:36 +0000
commit7939864decee1a65af6178606af870382d17756c (patch)
tree962759f986644d19517fb04e6c4ea234bbc875c7 /src
parent6b9290ff120fbe31d9926cc49701aa3068248e0a (diff)
downloadstrongswan-7939864decee1a65af6178606af870382d17756c.tar.bz2
strongswan-7939864decee1a65af6178606af870382d17756c.tar.xz
updated leak_detective whitelist: libxml and clearsilver functions
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/utils/leak_detective.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c
index a86fe0229..9f6f3ad42 100644
--- a/src/libstrongswan/utils/leak_detective.c
+++ b/src/libstrongswan/utils/leak_detective.c
@@ -212,8 +212,10 @@ static void log_stack_frames(void **stack_frames, int stack_frame_count)
* otherwise on leak report.
*/
char *whitelist[] = {
+ /* pthread stuff */
"pthread_create",
"pthread_setspecific",
+ /* glibc functions */
"mktime",
"tzset",
"inet_ntoa",
@@ -224,13 +226,22 @@ char *whitelist[] = {
"register_printf_function",
"syslog",
"vsyslog",
- "dlopen",
"getaddrinfo",
"setlocale",
+ /* ignore dlopen, as we do not dlclose to get proper leak reports */
+ "dlopen",
+ /* mysql functions */
"mysql_init_character_set",
"init_client_errs",
"my_thread_init",
+ /* fastcgi library */
"FCGX_Init",
+ /* libxml */
+ "xmlInitCharEncodingHandlers",
+ "xmlInitParser",
+ "xmlInitParserCtxt",
+ /* ClearSilver */
+ "nerr_init",
};
/**