Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Leaking result of SecItemCopyMatching #68

Closed
Timac opened this issue Oct 2, 2013 · 1 comment
Closed

Leaking result of SecItemCopyMatching #68

Timac opened this issue Oct 2, 2013 · 1 comment

Comments

@Timac
Copy link

Timac commented Oct 2, 2013

+[BITKeychainUtils getPasswordForUsername:andServiceName:error:] is leaking the result object of the call SecItemCopyMatching:

OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef) attributeQuery, &attrResult);

The vairable "attrResult" should be released. This issue occurs with HockeyApp SDK 3.5.0rc2.

instruments

@DerAndereAndi
Copy link
Contributor

Thanks for letting us know. i just fixed this in the develop branch: f92fcbb

s2m-updater pushed a commit to SinnerSchraderMobileMirrors/HockeySDK-iOS that referenced this issue Oct 31, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants