summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-09-07 21:32:10 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-09-07 21:32:10 +0200
commit2e1851802188515f8edeed8eb3f753cf69e348d9 (patch)
tree2eaa6d13c1f77f39145cf1b5f92c8ac076eb237b /utils
parent66b29488a7ed5909564ed03b3e89cd0d008df09e (diff)
downloadeurephia-2e1851802188515f8edeed8eb3f753cf69e348d9.tar.gz
eurephia-2e1851802188515f8edeed8eb3f753cf69e348d9.tar.xz
eurephia-2e1851802188515f8edeed8eb3f753cf69e348d9.zip
Added debug logging of free_nullsafe() calls as well
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;
}