summaryrefslogtreecommitdiff
path: root/src/support/scratch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/scratch.c')
-rw-r--r--src/support/scratch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/scratch.c b/src/support/scratch.c
index 94020ba2621..aea98dc49ef 100644
--- a/src/support/scratch.c
+++ b/src/support/scratch.c
@@ -45,7 +45,7 @@ __wt_buf_grow_worker(WT_SESSION_IMPL *session, WT_ITEM *buf, size_t size)
WT_RET(__wt_realloc_aligned(
session, &buf->memsize, size, &buf->mem));
else
- WT_RET(__wt_realloc(
+ WT_RET(__wt_realloc_noclear(
session, &buf->memsize, size, &buf->mem));
}