aboutsummaryrefslogtreecommitdiff
path: root/src/mem2.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-07-10 18:13:42 +0000
committerdrh <drh@noemail.net>2008-07-10 18:13:42 +0000
commit8a42cbd3f06618e135f4dc8f1263584183258c3d (patch)
tree7e3179ba9ecc1d91beeb46a5a6d71746933355c2 /src/mem2.c
parent80b3c54851e208b6ec82756610c839409aa20833 (diff)
downloadsqlite-8a42cbd3f06618e135f4dc8f1263584183258c3d.tar.gz
sqlite-8a42cbd3f06618e135f4dc8f1263584183258c3d.zip
Enhancements to the testing logic for malloc and mutex. Only permit one
of MEMSYS3/5 to be compiled-in at a time. Omit the SQLITE_CONFIG_MEMSYS3/5 configuration options. (CVS 5389) FossilOrigin-Name: ed8b2525006ae7f8cacd01b291760513fdbdff57
Diffstat (limited to 'src/mem2.c')
-rw-r--r--src/mem2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem2.c b/src/mem2.c
index 304c9fbb0..5e9a999b7 100644
--- a/src/mem2.c
+++ b/src/mem2.c
@@ -19,7 +19,7 @@
** This file contains implementations of the low-level memory allocation
** routines specified in the sqlite3_mem_methods object.
**
-** $Id: mem2.c,v 1.33 2008/06/19 01:03:18 drh Exp $
+** $Id: mem2.c,v 1.34 2008/07/10 18:13:42 drh Exp $
*/
#include "sqliteInt.h"
@@ -174,7 +174,6 @@ static int sqlite3MemInit(void *NotUsed){
** Deinitialize the memory allocation subsystem.
*/
static void sqlite3MemShutdown(void *NotUsed){
- sqlite3_mutex_free(mem.mutex);
mem.mutex = 0;
}