Skip to content

Commit ba2467d

Browse files
committed
fix error in memory hook codec trace
1 parent 7e805e5 commit ba2467d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/crypto_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static void sqlcipher_mem_shutdown(void *pAppData) {
108108
static void *sqlcipher_mem_malloc(int n) {
109109
void *ptr = default_mem_methods.xMalloc(n);
110110
if(mem_security_on) {
111-
CODEC_TRACE("sqlcipher_mem_malloc: calling sqlcipher_mlock(%p,%d)\n", ptr, sz);
111+
CODEC_TRACE("sqlcipher_mem_malloc: calling sqlcipher_mlock(%p,%d)\n", ptr, n);
112112
sqlcipher_mlock(ptr, n);
113113
if(!mem_security_activated) mem_security_activated = 1;
114114
}

0 commit comments

Comments
 (0)