summaryrefslogtreecommitdiff
path: root/src/conn/conn_open.c
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-12-08 13:02:35 -0500
committerSusan LoVerso <sue@wiredtiger.com>2014-12-08 13:02:35 -0500
commitac771c970fddfe3e4675d9e6beead97d7be7097f (patch)
tree4f1b129980498752d816b74c6388a0783ab561c6 /src/conn/conn_open.c
parent77e8b73b2d25f9958aafdb5573da406daf9469e5 (diff)
downloadmongo-ac771c970fddfe3e4675d9e6beead97d7be7097f.tar.gz
Add table hash array. Rename to WT_HASH_ARRAY_SIZE #1439
Diffstat (limited to 'src/conn/conn_open.c')
-rw-r--r--src/conn/conn_open.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/conn/conn_open.c b/src/conn/conn_open.c
index d386236db5d..f77f38ee01c 100644
--- a/src/conn/conn_open.c
+++ b/src/conn/conn_open.c
@@ -198,11 +198,13 @@ __wt_connection_close(WT_CONNECTION_IMPL *conn)
for (i = 0; i < conn->session_size; ++s, ++i)
if (s != session) {
/*
- * If a dhandle hash array was allocated,
- * free it now.
+ * If hash arrays were allocated,
+ * free them now.
*/
if (s->dhhash != NULL)
__wt_free(session, s->dhhash);
+ if (s->tablehash != NULL)
+ __wt_free(session, s->tablehash);
__wt_free(session, s->hazard);
}