Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0, 4.0.1, 4.0.2
-
None
-
None
-
1
Description
Currently the SDK does a good job at decrementing (when necessary) reference counts appropriately within a custom type's destructor. However, we also need to free the object' memory at the end of the destructor using the tp_free() method (typically: Py_TYPE(self)->tp_free((PyObject *) self);).
Types to update:
- result
- mutation_token
- streamed_result
- transaction_get_result
- transaction_query_options
- transaction_config
- per_transaction_config
Attachments
Issue Links
- is duplicated by
-
PYCBC-1387 Memory leak python sdk 4.0.2
- Resolved
- relates to
-
PYCBC-1383 Fix memory leak in build_kv_error_map_info when building KV exception
- Resolved
-
PYCBC-1201 Memory Leak with Python SDK 3.2.3 (or 3.2.2)
- Resolved
-
PYCBC-1282 Memory leak in kv operations
- Resolved