diff options
author | bamse16 <marius@marius.me.uk> | 2009-06-05 15:07:25 +0000 |
---|---|---|
committer | bamse16 <marius@marius.me.uk> | 2009-06-05 15:07:25 +0000 |
commit | 67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece (patch) | |
tree | 14dbf0a8861ade6a232dfe2d0fdfab0807375aa5 /Source/KeyChain.m | |
parent | b3d173a9bf9ade79a06202b5666b105936ef0dff (diff) | |
download | sequelpro-67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece.tar.gz sequelpro-67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece.tar.bz2 sequelpro-67a3148cec8bc7d1c6f52f60c8ce93a4fe0b8ece.zip |
Fixed some memory leaks found using llvm/clang. There are still some to fix
Diffstat (limited to 'Source/KeyChain.m')
-rw-r--r-- | Source/KeyChain.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/KeyChain.m b/Source/KeyChain.m index da3e761c..ec5ee03f 100644 --- a/Source/KeyChain.m +++ b/Source/KeyChain.m @@ -116,10 +116,10 @@ password = [NSString stringWithCString:passwordData length:passwordLength]; // Free the data allocated by SecKeychainFindGenericPassword: - status = SecKeychainItemFreeContent( - NULL, // No attribute data to release - passwordData // Release data - ); + SecKeychainItemFreeContent( + NULL, // No attribute data to release + passwordData // Release data + ); } return password; |