Skip to content

Commit

Permalink
Fix #409: crash in Secur32#testEnumerateSecurityPackages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Mar 16, 2015
1 parent 0ce5802 commit b313167
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,10 @@ public void testEnumerateSecurityPackages() {
for(SecPkgInfo.ByReference packageInfo : packagesInfo) {
assertTrue(packageInfo.Name.length() > 0);
assertTrue(packageInfo.Comment.length() >= 0);
System.out.println(packageInfo.Name);
}
assertEquals(W32Errors.SEC_E_OK, Secur32.INSTANCE.FreeContextBuffer(
pPackageInfo.getPointer()));
pPackageInfo.pPkgInfo.getPointer()));
}

public void testQuerySecurityContextToken() {
Expand Down

0 comments on commit b313167

Please sign in to comment.