aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-10-24 12:37:00 +0000
committerdrh <drh@noemail.net>2014-10-24 12:37:00 +0000
commit5a5d120bcc08af809b8687ff9fe39fce27e7796c (patch)
treeff19e4ce1ac1204e444847992cf9e8846ab45c20 /src/malloc.c
parent9ca95730e3a25bf5b335ec73a0a14f0112a421fb (diff)
downloadsqlite-5a5d120bcc08af809b8687ff9fe39fce27e7796c.tar.gz
sqlite-5a5d120bcc08af809b8687ff9fe39fce27e7796c.zip
Fix two problems. Tests now passing.
FossilOrigin-Name: 1c220b806d56e163842e17038c3331f71861bd9c
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/malloc.c b/src/malloc.c
index c3c644fd6..6fb9d53d1 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -475,9 +475,6 @@ sqlite3_uint64 sqlite3_msize(void *p){
** Free memory previously obtained from sqlite3Malloc().
*/
void sqlite3_free(void *p){
-#if defined(SQLITE_ENABLE_API_ARMOR) && !defined(SQLITE_OMIT_AUTOINIT)
- if( sqlite3_initialize() ) return;
-#endif
if( p==0 ) return; /* IMP: R-49053-54554 */
assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) );
assert( sqlite3MemdebugNoType(p, ~MEMTYPE_HEAP) );