summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/benchmark.c2
-rw-r--r--utils/eurephia_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/benchmark.c b/utils/benchmark.c
index fb1af80..a3fc5f1 100644
--- a/utils/benchmark.c
+++ b/utils/benchmark.c
@@ -69,7 +69,7 @@ void benchmark_hashing(int rounds) {
pwdhash = sha512_crypt_r("benchmarkpassword", pwdsalt, ROUNDS_MAX, buffer, 1024);
- free_nullsafe(buffer);
+ free_nullsafe(NULL, buffer);
}
diff --git a/utils/eurephia_init.c b/utils/eurephia_init.c
index 8a3b343..b89ed75 100644
--- a/utils/eurephia_init.c
+++ b/utils/eurephia_init.c
@@ -132,7 +132,7 @@ int eurephia_ConnectDB(eurephiaCTX *ctx, eurephiaVALUES *cfg) {
eDBlink_close(ctx);
return 0;
}
- free_nullsafe(cp);
+ free_nullsafe(ctx, cp);
return 1;
}