You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- GetAllSigningIdentities: CFRelease the CFDataRef returned by
SecCertificateCopyData (Copy semantics = +1 retain count).
- GetAllSigningCertificates: Same CFDataRef leak fix.
- FindInternetUserNameAndPassword: Free passwordData with
SecKeychainItemFreeContent and release the item ref.
- FindInternetPassword(string,...): Same leak fix.
- FindInternetPassword(Uri): Free passwordData and align cleanup.
All three FindInternet* methods now use try/finally to guarantee native
resources are freed even if GetUsernameFromKeychainItemRef or marshaling
throws.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments