Skip to content

Commit

Permalink
MONGOCRYPT-768 remove possible double-free (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs authored Feb 27, 2025
1 parent 95f8281 commit 9378602
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mc-schema-broker.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,6 @@ bool mc_schema_broker_satisfy_from_cache(mc_schema_broker_t *sb,
}

if (!mc_schema_entry_satisfy_from_collinfo(it, collinfo, sb->db, it->coll, sb->use_range_v2, status)) {
bson_destroy(collinfo);
bson_free(ns);
goto loop_fail;
}

Expand Down

0 comments on commit 9378602

Please sign in to comment.