summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/buf.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/buf.i b/src/include/buf.i
index 3f44c387bd5..b8849396f01 100644
--- a/src/include/buf.i
+++ b/src/include/buf.i
@@ -132,7 +132,7 @@ __wt_scr_free(WT_SESSION_IMPL *session, WT_ITEM **bufp)
__wt_free(session, buf->mem);
buf->memsize = 0;
} else
- session->scratch_cached += buf->memsize;
+ session->scratch_cached += buf->memsize;
buf->data = NULL;
buf->size = 0;