Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal objects are not freed on all error paths #41

Closed
tdenniston opened this issue Jun 5, 2018 · 0 comments
Closed

Internal objects are not freed on all error paths #41

tdenniston opened this issue Jun 5, 2018 · 0 comments
Labels

Comments

@tdenniston
Copy link
Contributor

We should wrap internal TileDB objects e.g. tiledb_query_t and tiledb_array_t in simple internal python classes that just implement a __dealloc__ method to call the appropriate C API free call. This will ensure that those resources are properly freed on error paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant