mirror of
https://github.com/status-im/sqlcipher.git
synced 2026-08-30 22:11:14 +00:00
fix error in memory hook codec trace
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ static void sqlcipher_mem_shutdown(void *pAppData) {
|
||||
static void *sqlcipher_mem_malloc(int n) {
|
||||
void *ptr = default_mem_methods.xMalloc(n);
|
||||
if(mem_security_on) {
|
||||
CODEC_TRACE("sqlcipher_mem_malloc: calling sqlcipher_mlock(%p,%d)\n", ptr, sz);
|
||||
CODEC_TRACE("sqlcipher_mem_malloc: calling sqlcipher_mlock(%p,%d)\n", ptr, n);
|
||||
sqlcipher_mlock(ptr, n);
|
||||
if(!mem_security_activated) mem_security_activated = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user