Added ctime function to white list
authorSansar Choinyambuu <schoinya@hsr.ch>
Wed, 5 Oct 2011 08:51:32 +0000 (10:51 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 13:34:21 +0000 (14:34 +0100)
src/libstrongswan/utils/leak_detective.c

index 93cc027..0a87893 100644 (file)
@@ -194,6 +194,7 @@ char *whitelist[] = {
        "__pthread_setspecific",
        /* glibc functions */
        "mktime",
+       "ctime",
        "__gmtime_r",
        "localtime_r",
        "tzset",