Skip to content

Commit 33feb5c

Browse files
fix leaks in unified test runner
1 parent 505bfca commit 33feb5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libmongoc/tests/unified/operation.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ operation_delete_many (test_t *test,
724724
ret = true;
725725
done:
726726
bson_parser_destroy_with_parsed_fields (parser);
727+
bson_destroy (&op_reply);
727728
return ret;
728729
}
729730

@@ -775,6 +776,7 @@ operation_distinct (test_t *test,
775776
done:
776777
bson_parser_destroy_with_parsed_fields (parser);
777778
bson_destroy (&op_reply);
779+
bson_destroy (distinct);
778780
return ret;
779781
}
780782

0 commit comments

Comments
 (0)