summaryrefslogtreecommitdiff
path: root/src/txn/txn_ckpt.c
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2016-03-22 09:08:47 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2016-03-22 09:08:47 +1100
commit4e62bc3b92ba439d0b817ba87a67ab7fb84e5bc1 (patch)
treefed87f0ca90882682383cc5cae1c9bd36d6492bd /src/txn/txn_ckpt.c
parent3a1990ac352b38d5b8355108f9af93a58826e94f (diff)
downloadmongo-4e62bc3b92ba439d0b817ba87a67ab7fb84e5bc1.tar.gz
WT-2502 __wt_free clears the pointer; don't do it again.
Diffstat (limited to 'src/txn/txn_ckpt.c')
-rw-r--r--src/txn/txn_ckpt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c
index 2dab7eef183..a4a24b41a89 100644
--- a/src/txn/txn_ckpt.c
+++ b/src/txn/txn_ckpt.c
@@ -866,7 +866,6 @@ __checkpoint_lock_tree(WT_SESSION_IMPL *session,
* allocation, if needed.
*/
__wt_free(session, name_alloc);
- name_alloc = NULL;
F_SET(ckpt, WT_CKPT_ADD);
/*