Skip to content

Commit

Permalink
toTemplate: space between // and comment text
Browse files Browse the repository at this point in the history
Reported by gocritic.
  • Loading branch information
Jeremy Rand committed Aug 10, 2022
1 parent 0a13745 commit 9a709fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func toTemplate(clist C.CK_ATTRIBUTE_PTR, size C.CK_ULONG) []*pkcs11.Attribute {
if int(c.ulValueLen) != -1 {
buf := unsafe.Pointer(C.getAttributePval(c))
x.Value = C.GoBytes(buf, C.int(c.ulValueLen))
//C.free(buf) // Removed compared to miekg implementation since it's not desired here
// C.free(buf) // Removed compared to miekg implementation since it's not desired here
}
l2[i] = x
}
Expand Down

0 comments on commit 9a709fa

Please sign in to comment.