Skip to content

Commit 594b211

Browse files
PYTHON-2382 Destroy codec options struct in _cbson._element_to_dict (#496)
1 parent 1c2651b commit 594b211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bson/_cbsonmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2713,6 +2713,7 @@ static PyObject* _cbson_element_to_dict(PyObject* self, PyObject* args) {
27132713
return NULL;
27142714
}
27152715

2716+
destroy_codec_options(&options);
27162717
return result_tuple;
27172718
}
27182719

0 commit comments

Comments
 (0)