Skip to content

Commit 14c31d4

Browse files
committed
CDRIVER-523 double-free in bulk test
1 parent 89ff56e commit 14c31d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-bulk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ test_large_inserts_ordered ()
17511751
client = test_framework_client_new (NULL);
17521752
assert (client);
17531753

1754-
huge_doc = tmp_bson ("{'a': 1}");
1754+
huge_doc = BCON_NEW ('a', BCON_INT32 (1));
17551755
bson_append_utf8 (huge_doc, "huge", -1,
17561756
huge_string (client), huge_string_length (client));
17571757

0 commit comments

Comments
 (0)