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

JDBC: DuckDBNative - Close Shared Object InputStream Properly #9933

Merged
merged 1 commit into from Dec 9, 2023

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
8 checks passed
@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
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.

None yet

3 participants