diff --git a/db/sqlite3/src/sqlite.def b/db/sqlite3/src/sqlite.def index dcf2ce502a5c..5e1179e096f4 100644 --- a/db/sqlite3/src/sqlite.def +++ b/db/sqlite3/src/sqlite.def @@ -155,5 +155,4 @@ EXPORTS sqlite3_aggregate_context sqlite3_value_type sqlite3_version sqlite3_vmprintf - sqlite3ApiExit ;needed by mozStorage sqlite3Os DATA ;needed by mozStorage diff --git a/db/sqlite3/src/sqlite3file.h b/db/sqlite3/src/sqlite3file.h index 67e665876205..547143877487 100644 --- a/db/sqlite3/src/sqlite3file.h +++ b/db/sqlite3/src/sqlite3file.h @@ -72,7 +72,6 @@ struct ThreadData; ** See definition in util.c */ struct sqlite3; -int sqlite3ApiExit(sqlite3 *db, int); /* diff --git a/storage/src/mozStorageAsyncIO.cpp b/storage/src/mozStorageAsyncIO.cpp index 6ba79016a52f..dd49f091005f 100644 --- a/storage/src/mozStorageAsyncIO.cpp +++ b/storage/src/mozStorageAsyncIO.cpp @@ -1571,9 +1571,6 @@ ProcessAsyncMessages() AsyncQueueLast = nsnull; AsyncQueueFirst = message->mNext; nsMemory::Free(message); - - // free any out-of-memory flags in the library - sqlite3ApiExit(nsnull, 0); } // Drop the queue mutex before continuing to the next write operation // in order to give other threads a chance to work with the write queue