Skip to content

Conversation

brianwyka
Copy link
Contributor

Use try-with-resources to prevent memory leak when copying the shared object file to the /tmp directory.

@brianwyka brianwyka changed the title JDBC: DuckDBNative - Close InputStream Properly JDBC: DuckDBNative - Close Shared Object InputStream Properly Dec 8, 2023
@Mytherin Mytherin merged commit d423e96 into duckdb:main Dec 9, 2023
@Mytherin
Copy link
Collaborator

Mytherin commented Dec 9, 2023

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 14, 2023
Merge pull request duckdb/duckdb#9932 from taniabogatsch/attach-schema-bug
Merge pull request duckdb/duckdb#9933 from brianwyka/duckdbnative-close-resource
@brianwyka brianwyka deleted the duckdbnative-close-resource branch December 30, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants