diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_handle.c')
-rw-r--r-- | src/third_party/wiredtiger/src/conn/conn_handle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_handle.c b/src/third_party/wiredtiger/src/conn/conn_handle.c index 63bb9af5842..b212409be80 100644 --- a/src/third_party/wiredtiger/src/conn/conn_handle.c +++ b/src/third_party/wiredtiger/src/conn/conn_handle.c @@ -116,8 +116,7 @@ __wt_connection_destroy(WT_CONNECTION_IMPL *conn) * underlying file-close code uses the mutex to guard lists of * open files. */ - if (conn->lock_fh != NULL) - WT_TRET(__wt_close(session, conn->lock_fh)); + WT_TRET(__wt_close(session, &conn->lock_fh)); /* Remove from the list of connections. */ __wt_spin_lock(session, &__wt_process.spinlock); |