summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/support/hazard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/support/hazard.c')
-rw-r--r--src/third_party/wiredtiger/src/support/hazard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/support/hazard.c b/src/third_party/wiredtiger/src/support/hazard.c
index a44f349e3e5..1093408cafe 100644
--- a/src/third_party/wiredtiger/src/support/hazard.c
+++ b/src/third_party/wiredtiger/src/support/hazard.c
@@ -378,7 +378,8 @@ __wt_hazard_check(WT_SESSION_IMPL *session,
WT_STAT_CONN_INCRV(session, cache_hazard_walks, walk_cnt);
hp = NULL;
-done: /* Leave the current resource generation. */
+done:
+ /* Leave the current resource generation. */
__wt_session_gen_leave(session, WT_GEN_HAZARD);
return (hp);