summaryrefslogtreecommitdiff
path: root/src/libstrongswan/utils/leak_detective.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/utils/leak_detective.c')
-rw-r--r--src/libstrongswan/utils/leak_detective.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c
index bc8432aea..99f4843ad 100644
--- a/src/libstrongswan/utils/leak_detective.c
+++ b/src/libstrongswan/utils/leak_detective.c
@@ -552,6 +552,7 @@ char *whitelist[] = {
/* ClearSilver */
"nerr_init",
/* libgcrypt */
+ "gcrypt_plugin_create",
"gcry_control",
"gcry_check_version",
"gcry_randomize",
@@ -690,8 +691,8 @@ static int print_traces(private_leak_detective_t *this,
{
if (!thresh_count || entry->count >= thresh_count)
{
- this->report_cb(this->report_data, entry->count,
- entry->bytes, entry->backtrace, detailed);
+ cb(user, entry->count, entry->bytes, entry->backtrace,
+ detailed);
}
}
}