diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/format/bulk.c')
-rw-r--r-- | src/third_party/wiredtiger/test/format/bulk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/format/bulk.c b/src/third_party/wiredtiger/test/format/bulk.c index 5d236ec5b42..398471786e6 100644 --- a/src/third_party/wiredtiger/test/format/bulk.c +++ b/src/third_party/wiredtiger/test/format/bulk.c @@ -68,8 +68,8 @@ wts_load(void) testutil_check(ret); /* Set up the key/value buffers. */ - key_gen_setup(&key); - val_gen_setup(NULL, &value); + key_gen_init(&key); + val_gen_init(&value); for (;;) { if (++g.key_cnt > g.c_rows) { @@ -158,6 +158,6 @@ wts_load(void) testutil_check(session->close(session, NULL)); - free(key.mem); - free(value.mem); + key_gen_teardown(&key); + val_gen_teardown(&value); } |