Skip to content

Commit 9378602

Browse files
authored
MONGOCRYPT-768 remove possible double-free (#967)
1 parent 95f8281 commit 9378602

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mc-schema-broker.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,6 @@ bool mc_schema_broker_satisfy_from_cache(mc_schema_broker_t *sb,
474474
}
475475

476476
if (!mc_schema_entry_satisfy_from_collinfo(it, collinfo, sb->db, it->coll, sb->use_range_v2, status)) {
477-
bson_destroy(collinfo);
478-
bson_free(ns);
479477
goto loop_fail;
480478
}
481479

0 commit comments

Comments
 (0)