Skip to content

Make sure SID related memory is properly released once no longer required#602

Merged
lgoldstein merged 1 commit intojava-native-access:masterfrom
lgoldstein:sid-free
Mar 3, 2016
Merged

Make sure SID related memory is properly released once no longer required#602
lgoldstein merged 1 commit intojava-native-access:masterfrom
lgoldstein:sid-free

Conversation

@lgoldstein
Copy link
Copy Markdown
Contributor

The code was not releasing properly SID memory allocated by the ConvertSidXXX methods.

@twall
Copy link
Copy Markdown
Contributor

twall commented Mar 1, 2016

Good catch, LGTM.

lgoldstein added a commit that referenced this pull request Mar 3, 2016
Make sure SID related memory is properly released once no longer required
@lgoldstein lgoldstein merged commit bbc2291 into java-native-access:master Mar 3, 2016
@lgoldstein lgoldstein deleted the sid-free branch March 3, 2016 06:17
mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
Motivation:

The asseertation of the params was not correct and so could fail
sometimes

Modifications:

Fix assert

Result:

Testsuite passes all the time again
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.

2 participants