Skip to content

Commit 1bc379f

Browse files
committed
explanitory comment on memory wiping
1 parent c7b561f commit 1bc379f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/malloc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ int sqlite3MallocInit(void){
131131
sqlite3MemSetDefault();
132132
/* BEGIN SQLCIPHER */
133133
#ifdef SQLITE_HAS_CODEC
134+
/* install wrapping functions for memory management
135+
that will wipe all memory allocated by SQLite
136+
when freed */
134137
extern void sqlcipher_init_memmethods();
135138
sqlcipher_init_memmethods();
136139
#endif

0 commit comments

Comments
 (0)